cipres_delete_job: Delete or cancel jobs on CIPRES server

Description Usage Arguments Details Value See Also Examples

Description

Deletes data and output associated with a job on CIPRES's server (or cancel a job if it's still running.)

Usage

1
cipres_delete_job(handle, verbose = TRUE, ...)

Arguments

handle

The job identifier

verbose

Should a message be printed if the deletion/cancellation is successful?

...

arguments to customize the API call. These arguments are passed to the appropriate httr function (GET, POST, DELETE)

Details

Given a job handle, deletes data and output associated with the job. If the job hasn't completed, it will abort it and deletes the data and output.

Value

TRUE if the deletion/cancellation was succesfull, FALSE otherise.

See Also

Other job.controls: cipres_job_status, cipres_list_jobs

Examples

1
2
3
4
5
## Not run: 
### Deletes the 5 oldest jobs. Be careful, there is no undo!
### sapply(cipres_list_jobs()$title[1:5], cipres_delete_jobs)

## End(Not run)

fmichonneau/cipresr documentation built on May 16, 2019, 1:44 p.m.