OpenBSD
1.18K subscribers
38 photos
2 videos
6 files
405 links
加入频道
Crontab random.

Add support for random values using the '~' operator. For example "0~30" will result in a random value between 0 and 30 inclusive... https://marc.info/?l=openbsd-cvs&m=158691599313802&w=2

#cron
Missing Cron Email When Restarting smtpd

I have a cron job that renews an SSL certificate from Let's Encrypt, and then restarts the smtpd daemon so that the new certificate is picked up. This all works fine--as proven by both the presence of a new, valid cert on disk, and smtpd successfully restarting--but cron never sends an email with the output of the job. What gives?

https://www.packetmischief.ca/2021/02/03/missing-cron-email-when-restarting-smtpd/

#cron #mail #opensmtpd
cron(8) now supports random ranges with steps.

Thanks to the following commit by Todd Miller, cron now supports random values in a range with a step value (i.e. "<lo>~<hi>/<step>" in crontab entries)...

https://undeadly.org/cgi?action=article;sid=20230507122935

#cron
👍17🦄32🥰2❤‍🔥1