Recipe · unix5
Weekly on Sunday at 02:00
0 2 * * 0Runs once a week, Sunday morning at 02:00 — quiet hours for most production traffic.
Why this pattern
Weekly cleanup, weekly aggregation, weekly cache flush. Sunday 02:00 is the calmest moment of the week for most production systems. 0 2 * * 0 reads as "Sunday at 02:00" — note that Unix cron accepts both 0 and 7 for Sunday.
Variations
- Every Saturday at 02:00:
0 2 * * 6 - Twice a week (Wed and Sun):
0 2 * * 3,0 - Every Monday at 09:00:
0 9 * * 1
Platform notes
Quartz uses day-of-week 1=SUN..7=SAT, so the same intent is 0 0 2 ? * 1. AWS EventBridge follows the same 1=SUN convention but additionally requires ? in one of day-of-month or day-of-week. Use the dialect picker to see both forms side-by-side.
Try it
loading builder…