Run a Cron Job Every Tuesday
To run a job every Tuesday, set the day-of-week field to 2. For example, 0 9 * * 2 runs at 9:00 AM every Tuesday. Change the hour and minute to pick your time.
The expression
0 9 * * 2 runs at 09:00 every Tuesday. The fields are minute (0), hour (9), day-of-month (*), month (*), day-of-week (2).
Day-of-week numbering
Sunday is 0 (and also 7), Monday 1, Tuesday 2, Wednesday 3, Thursday 4, Friday 5, Saturday 6. You can also write TUE: 0 9 * * TUE.
Change the time
Set minute and hour to your slot — e.g. 30 18 * * 2 for 6:30 PM every Tuesday. To run several times on Tuesday, list hours: 0 9,17 * * 2.
FAQ
What is the cron expression for every Tuesday?
0 9 * * 2 runs at 9 AM every Tuesday. The 2 in the last field is Tuesday; change the hour (9) and minute (0) for a different time.
What number is Tuesday in cron?
Tuesday is 2 (Sunday=0, Monday=1, Tuesday=2 ...). You can also use the name TUE.
How do I run a job twice on Tuesday?
List the hours in the hour field: 0 9,17 * * 2 runs at 9 AM and 5 PM every Tuesday.