Skip to content
Zcentric

The old blog · Tag

crontab

  1. Crontab with a random sleep

    Tweet Recently ran into this problem. We had a crontab entry that looked something like this 0 0 * * * /usr/bin/sleep $((RANDOM\%90)); cmdHere What that attempted was to run a command a random amount of seconds once …

All posts