Cron Special Characters Reference
| Symbol | Meaning | Example |
|---|---|---|
| * | Any / Every value | * * * * * (every minute) |
| , | Value list separator | 0 9,17 * * * (9 AM and 5 PM) |
| - | Range of values | 0 9 * * 1-5 (Monday to Friday) |
| / | Step interval | */10 * * * * (every 10 minutes) |
Frequently Asked Questions
What do the 5 stars (* * * * *) mean in a cron expression?
From left to right, the five fields represent: Minute (0β59), Hour (0β23), Day of Month (1β31), Month (1β12), and Day of Week (0β6, where 0 is Sunday). An asterisk (*) matches every possible value for that field.
How do I schedule a cron job to run every 15 minutes?
Use the step operator */15 in the first field: */15 * * * *. This executes the task at minutes 0, 15, 30, and 45 of every hour.
Are GitHub Actions and Linux crontab expressions identical?
Yes. Both Linux crontab and GitHub Actions workflow schedules use the standard 5-field POSIX cron syntax, with GitHub Actions executing schedules in UTC time.