Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
layer8
2 days ago
|
parent
|
context
|
favorite
| on:
Avoid 2:00 and 3:00 am cron jobs (2013)
One trick for cron is to prepend the actual command in the crontab with something like
sleep $(( $(od -N1 -tuC -An /dev/urandom) % 60 ))m ;
which will delay it by 0 to 59 minutes at random.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: