3 ms·
Unfortunately the crontab englishfier doesn't do a great job of describing it, https://crontab.guru/#0_0_*/100,1-7_*_MON https://crontab.guru/#0_0_*/100,1-7_*_
by drekipus 4y ago
Unfortunately the crontab englishfier doesn't do a great job of describing it,
https://crontab.guru/#0_0_*/100,1-7_*_MON https://crontab.guru/#0_0_*/100,1-7_*_MON
This is a nice hack, but readability has gone out the window and it's really just much safer to fail early in the job itself.
- cdubzzz 4y ago> At 00:00 on every 100th day-of-month and every day-of-month from 1 through 7 if it's on Monday. I guess I’m confused. Isn’t that exactly correct?
- ldjb 4y agoIt is correct, but a lot wordier than "At midnight on the first Monday of every month."
- layer8 4y agoIt reads like the “if” clause only pertains to the second “every”, but it also applies to the first. In this instance it doesn’t make a real difference, but presumably the Englishfier doesn’t know that.