aptible/supercronic

Does supecronic support crontab RANDOM_DELAY variable?

jurim76 opened this issue · 2 comments

From man crontab
The RANDOM_DELAY variable allows delaying job startups by random amount of minutes with upper limit specified by the variable. The random scaling factor is determined during the cron daemon startup so it remains constant for the whole run time of the daemon.

it does not, though we are open to contributions. Can I ask what were you hoping to accomplish with such a delay?

This delay is required when a bunch of backup jobs start in parallel at the same time, for example. Currently I'm using random delay in pre-start backup script.