Commit 1a3d1ce
Fix role-pipeline-report cron firing daily instead of monthly
The schedule '0 10 1-7 * 1' mixed a day-of-month restriction (1-7)
with a day-of-week restriction (1/Monday). Standard cron treats
mixed day-of-month + day-of-week fields as OR, not AND, so this
fired on every day 1-7 of the month AND every Monday instead of
only the first Monday. Confirmed against run history: it posted
to #t-engagement daily July 1-7 plus June 15/22/29.
Switch to a plain weekly Monday cron and gate the actual report
step on day-of-month <= 7 in the job itself, since cron can't
express "first Monday of month" directly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent f272ace commit 1a3d1ce
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
21 | 33 | | |
| 34 | + | |
22 | 35 | | |
23 | 36 | | |
24 | 37 | | |
| |||
0 commit comments