Cron expression examples
ready for the crontab.
The 30 schedules people actually install, from every minute to yearly. Every entry links to its own page: the expression, the plain-English readback, and its next 10 runs computed as dates.
Copy-paste POSIX lines
Next-run preview on every page
Instant · no signup
By the minute
8 schedules* * * * *Cron job every minute
*/2 * * * *Cron job every 2 minutes
*/3 * * * *Cron job every 3 minutes
*/5 * * * *Cron job every 5 minutes
*/10 * * * *Cron job every 10 minutes
*/15 * * * *Cron job every 15 minutes
*/20 * * * *Cron job every 20 minutes
*/30 * * * *Cron job every 30 minutes
By the hour
7 schedules0 * * * *Cron job every hour
0 */2 * * *Cron job every 2 hours
0 */3 * * *Cron job every 3 hours
0 */4 * * *Cron job every 4 hours
0 */6 * * *Cron job every 6 hours
0 */8 * * *Cron job every 8 hours
0 */12 * * *Cron job every 12 hours
Daily
3 schedules0 0 * * *Cron job every day
0 0 * * *Cron job every day at midnight
0 12 * * *Every day at 12 PM
Weekly
7 schedules0 0 * * 1-5Cron job every weekday
0 0 * * 6,0Cron job every weekend
0 0 * * 1Cron job every Monday
0 0 * * 5Cron job every Friday
0 0 * * 6Cron job every Saturday
0 0 * * 0Cron job every Sunday
0 0 * * 0Weekly
Monthly, quarterly, yearly
5 schedules0 0 1 * *Monthly
0 0 1 * *Every month
0 0 1 */3 *Every quarter
0 0 1 1 *Yearly
Duplicates, Quartz and server time
before you copy0 0 * * *appears twice above — “every day” and “at midnight” are the same schedule. So do 0 0 1 * * and 0 0 * * 0. Both pages in each pair exist because both phrases get searched.
6#2is Quartz, not cron — plain crontab can’t say “the second Saturday” in one line. That page shows the script-guard way to get it anyway.
server timeowns every line here. The minute you install one, the box’s clock decides what “midnight” means — not yours.
More than a list
Every example has its own page
A cron line without context is how mistakes get copied. Each link above lands on a page that shows the schedule whole:
- The plain-English readback — what the five fields say, as one sentence.
- The next 10 runs as dates — computed in your browser, so you check a calendar, not syntax.
- The install line with the output redirect — because cron’s default destination for errors is an email nobody receives.
Picking between neighbours
the judgement calls*/5 vs */10halving the interval doubles the runs — 288 vs 144 a day. Pick by how stale the output may get, not by habit.
0 */2 * * *even hours from midnight: 00, 02, 04… Starting “every 2 hours” at 09:00 instead takes 0 9-23/2 * * *.
0 0 vs 30 3midnight is when everyone else’s jobs run too. A backup at 03:30 dodges the herd — and the DST window sits at 01:00–03:00, so mind the changeover nights.
1-5 vs 6,0weekdays are a range, weekends are a list — the week wraps at Sunday, so 6,0 can’t be written as a span.
More free tools
Keep exploring
Gratis-Tools sind erst der Anfang.
Uptimia hält Ihre Websites am Laufen.
Verfügbarkeit, SSL, Domain-Ablauf, Ladezeit, Transaktionen – aus 171+ Standorten weltweit überwacht. 30 Tage kostenlos.
30 Tage gratis
keine Kreditkarte
jederzeit kündbar
kostenloser Plan nach dem Test