Really like the ~ feature in cron. I'm moving every machine that gets updated to -current to use this for the daily/weekly/monthly crons, so they are randomized in the 30 minute window after the original start time. Especially useful on machines running a few (or more) VMs.
Something (or something like it) to consider for inclusion? Thank you for a very useful addition! Paul Index: crontab =================================================================== RCS file: /home/OpenBSD/cvs/src/etc/crontab,v retrieving revision 1.26 diff -u -p -r1.26 crontab --- crontab 15 Apr 2020 03:24:08 -0000 1.26 +++ crontab 16 Apr 2020 15:05:22 -0000 @@ -14,9 +14,9 @@ HOME=/var/log #1-59 * * * * /usr/bin/newsyslog -m # # do daily/weekly/monthly maintenance -30 1 * * * /bin/sh /etc/daily -30 3 * * 6 /bin/sh /etc/weekly -30 5 1 * * /bin/sh /etc/monthly +30~ 1 * * * /bin/sh /etc/daily +30~ 3 * * 6 /bin/sh /etc/weekly +30~ 5 1 * * /bin/sh /etc/monthly #~ * * * * /usr/libexec/spamd-setup #0~20 9 * * * -n rpki-client -v && bgpctl reload -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/