| [reply] |
Would it be acceptable to use "at" instead of "cron"? That
would be simple, especially if the job/script being submitted
with "at" includes something like the following as the first
thing to do:
at now + $interval this_same_script
In other words, instead of using the crontab file to run
a given script at regular intervals, use "at" to start the
job the first time, and craft the script that "at" is running
so that it schedules itself to run again after the desired
length of time.
Running "at" at the beginning of the script being scheduled
will make sure that the schedule doesn't slip too much with
each successive run. | [reply] [d/l] |
Use crontab(1) utility. Run it as open CRONTAB 'crontab -l|' to get your current crontab on the standard output, modify it, and then open CRONTAB '|crontab -' to get it installed. This is the only way to edit crontabs for mere mortals as designed by cron author. | [reply] [d/l] [select] |