3 ms·
Seems relevant, Cron supports using 0 or 7 to refer to Sunday.
by mrdrozdov 11y ago
Seems relevant, Cron supports using 0 or 7 to refer to Sunday.
- calinet6 11y agoWhat a fascinating way to solve the problem. You want Sunday as the first day? Fine, do your index zero-based and Sunday is Zero. You want Monday as the first day? Fine, index 1-based and use 7 for Sunday. Kind of brilliant.
- Daneel_ 11y agoCompletely agree. When I first started using cron I was chuffed at this.