Even if you think you are familiar with something, it pays to keep your knowledge current.
I’ve been always struggling with the crontab syntax. It’s flexible, but for most cases overly complex, for instance I still thought I needed “0 0 * * 0” to run something weekly, which I needed.
So I am pretty sure there were no @monthly or @weekly in crontab last century.
Not so any more, and if I’d had the crontab documentation more often, I had known about the crontab shortcuts @reboot, @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly many years ago: Read the rest of this entry »