Tools › Cron examples › every weekday at 9am
Cron expression for every weekday at 9am
The cron expression for every weekday at 9am is:
What it does
Runs at 09:00 Monday to Friday. Days of the week use 0 or 7 for Sunday, 1 for Monday.
Field by field
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | exactly 0 |
| Hour | 9 | exactly 9 |
| Day of month | * | every value |
| Month | * | every value |
| Day of week | 1-5 | range 1-5 |
Typical uses
Morning summaries, standup reminders, or business-hours-only tasks.
Watch out for
It does not know about public holidays. If those matter, check the date inside the script.
Add it to your crontab
crontab -e, then add:
0 9 * * 1-5 /path/to/command >> /var/log/myjob.log 2>&1
Related schedules
every minuteevery 5 minutesevery 10 minutesevery 15 minutesevery 30 minutesevery hourevery 2 hoursevery day at midnightevery day at 3amevery 15 minutes during business hoursevery Mondayevery Sunday at midnighton weekendson the first day of every monthon the last day of the monthevery quartertwice a day