Pereiti prie turinio

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
Not listed? build any schedule: cron generator → found one you can’t read? cron translator →

By the minute

8 schedules

By the hour

7 schedules
0 * * * *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 schedules
0 0 * * *Cron job every day
0 12 * * *Every day at 12 PM

Weekly

7 schedules
0 0 * * 1-5Cron job every weekday
0 0 * * 6,0Cron job every weekend
0 0 * * 0Weekly

Monthly, quarterly, yearly

5 schedules
0 0 1 * *Monthly
0 0 1 * *Every month
0 0 1 */3 *Every quarter
0 0 1 1 *Yearly
0 0 * * 6#2Every 2nd Saturdayneeds Quartz

Duplicates, Quartz and server time

before you copy
0 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.
Need a schedule that isn’t here? Build it

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.

Nemokami įrankiai – tik pradžia.
Uptimia rūpinasi jūsų svetainių sveikata.

Veikimo laikas, SSL, domeno galiojimo pabaiga, puslapių greitis, transakcijos – stebima iš 171+ vietos visame pasaulyje. Nemokama 30 dienų.

30 dienų nemokamai kreditinės kortelės nereikia atšaukite bet kada nemokamas planas po bandomojo laikotarpio
Stebima 100 000+ svetainių · Atitinka BDAR