Cron Expression Builder
Build a cron expression from plain choices: every few minutes, hourly, daily, weekly on chosen days or monthly on a day of the month, at the time you pick. The result shows the cron expression, the matching systemd OnCalendar value and the next five runs.
Frequently asked questions
What is a cron expression?
Five fields for minute, hour, day of month, month and day of week that tell cron, Kubernetes CronJobs, GitHub Actions and many schedulers when to run a job. 30 9 * * 1-5 runs at 9:30 on weekdays.
How do I run a job every 15 minutes?
Choose every few minutes and enter 15. The result is */15 * * * *, which runs at minutes 0, 15, 30 and 45 of every hour.
How do I choose several weekdays?
Choose weekly and enter the days as three-letter names separated by commas, for example mon, wed, fri.
What about months without a 31st?
Cron skips months that do not have the chosen day, so a job on day 31 runs only in seven months. The result warns you when you pick a day after the 28th.
Which time zone are the next runs in?
The time zone you enter, UTC by default. Classic cron uses the server's time zone, so make sure it matches. systemd timers accept a time zone at the end of OnCalendar, which the result includes.
Can I check an existing expression?
Yes. Use the Cron Parser to explain an expression in words, or the cron to systemd converter to translate it into a timer.