Cheat Sheets · Cron Cheat Sheet · Cron Twice a Day — 9 AM & 6 PM Schedule
Cron Twice a Day — 9 AM & 6 PM Schedule
0 9,18 * * *
Runs twice a day — at 09:00 (morning) and 18:00 (evening).
Field by field
| Field | Value | Meaning |
|---|---|---|
Minute | 0 | At minute 0 |
Hour | 9,18 | At 9 AM and 6 PM (18:00) |
Day of month | * | Every day |
Month | * | Every month |
Day of week | * | Every day of the week |
While */12 splits the clock at midnight and noon, most human-centric workflows need morning and evening syncs. Using a comma-separated list in the hour field (9,18) lets you target specific business hours.
0 9,18 * * * /usr/local/bin/daily-digest.sh
Related schedules
0 */12 * * * Every 12 hours (00:00 & 12:00)
0 0,12 * * * Midnight and noon
0 9 * * 1-5 Weekdays at 9 AM
FAQ
Can I pick different hours like 8 AM and 5 PM?
Yes: simply change the hour field to 8,17.
How do I run this only on weekdays?
Change day-of-week to 1-5: 0 9,18 * * 1-5.
Does cron support AM/PM syntax?
No, standard cron requires 24-hour notation (0 to 23). 6 PM must be written as 18.
Stop memorizing — build it interactively
Try this schedule in the Cron EditorFull reference: Cron Cheat Sheet