Dê uma olhada no fcron :
and, of course, in order to make it really useful, the time remaining until next execution is saved each time the system is stopped. You can also say:
run that command once between 2am and 5am which will be done if the system is running at any time in this interval.
Fcron also includes a useful system of options, which can be applied either to every lines following the declaration or to a single line. Some of the supported options permit to:
- run jobs one by one (fcrontab option serial),
- set the max system load average value under which the job should be run (fcrontab option lavg),
- set a nice value for a job (fcrontab option nice),
- run jobs at fcron's startup if they should have been run during system down time (fcrontab option bootrun),