cron_save {cronR} | R Documentation |
Save the current crontab
Description
Save the current crontab
Usage
cron_save(file, overwrite = FALSE, user = "")
Arguments
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. |
See Also
Examples
## 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)
[Package cronR version 0.6.5 Index]