Cron Job Builder
Visual cron expression builder with human-readable schedule output and copy-paste crontab line.
How to use the Cron Job Builder
- 1Select the frequency (every minute, hourly, daily, weekly, monthly) or choose "Custom" to set each field manually.
- 2Adjust the minute, hour, day, month, and weekday fields using the dropdowns or type directly into each field.
- 3The human-readable summary updates live — confirm it matches your intended schedule before copying.
- 4Click "Copy crontab line" and paste it into `crontab -e` on your server. Changes take effect on the next matching time.
Run this script on a real Linux server
Get $200 free credit — DigitalOcean
Get $200 Free →Affiliate link · we earn a commission
Frequently Asked Questions
How do I run a cron job every 5 minutes?
Set the minute field to `*/5` and leave the other fields as `*`. The resulting crontab line is `*/5 * * * * /path/to/command`. The builder generates this automatically when you select the "Every 5 minutes" preset.
What is the format for a crontab entry?
A crontab line has five time fields followed by the command: minute (0–59), hour (0–23), day of month (1–31), month (1–12), day of week (0–7, where both 0 and 7 are Sunday). Each field accepts numbers, ranges (1-5), lists (1,3,5), or step values (*/2).
How do I edit my crontab?
Run `crontab -e` in the terminal. This opens your personal crontab file in the default editor. Paste the generated line, save, and exit. The cron daemon picks up changes immediately — no restart needed.
Can I run a cron job on weekdays only?
Yes. Set the day of week field to `1-5` to run Monday through Friday. The builder supports range syntax, so you can also set it to `1,3,5` for Monday, Wednesday, and Friday only.