Hacker News new | ask | show | jobs
by zeec123 458 days ago
How is ‘persist’ realised with cron? What about ‘randomized delay’?
1 comments

I'm not sure what 'persist' means here but at least some cron implementations have support for randomization in times or time intervals.

    the time when the service unit was last triggered is stored on disk. When the timer is activated, the service unit is triggered immediately if it would have been triggered at least once during the time when the timer was inactive. Such triggering is nonetheless subject to the delay imposed by RandomizedDelaySec=. This is useful to catch up on missed runs of the service when the system was powered down.