cron_rm | R Documentation |
Use this command to remove a cron job added by cron_add
.
cron_rm(id, dry_run = FALSE, user = "", ask = TRUE)
id |
A set of ids, partially matched from the beginning, we wish to remove. We only remove the id if it is uniquely matched in the file. |
dry_run |
Boolean; if |
user |
The user whose crontab we will be modifying. |
ask |
Boolean; show prompt asking for validation |
f <- system.file(package = "cronR", "extdata", "helloworld.R") cmd <- cron_rscript(f) cron_add(command = cmd, frequency = 'minutely', id = 'test1', description = 'My process 1') cron_njobs() cron_ls() cron_rm(id = "test1") cron_njobs() cron_ls()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.