cron_save | R Documentation |
Save the current crontab
cron_save(file, overwrite = FALSE, user = "")
file |
The file location at which you wish to save your
|
overwrite |
logical; should we overwrite the file at path |
user |
The user whose cron jobs we will be saving. |
file.copy
## Not run: cron_add(command = cron_rscript(system.file(package = "cronR", "extdata", "helloworld.R")), frequency = 'minutely', id = 'test1', description = 'My process 1') cron_save(file="crontab_backup", overwrite=TRUE) cron_clear() cron_load(file="crontab_backup") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.