⏰ Cron Expression Generator
Build Linux Cron Job expressions visually — pick time, day, month and get an instant human-readable description with next run times
Understanding Cron Jobs
What is Cron Format?
A cron expression has 5 space-separated fields:
minute hour day month weekday
Example: 30 9 * * 1-5 = every weekday at 09:30. Values can be * (any), a number, range, or step.
Common Use Cases
• Backup database every night at 02:00 → 0 2 * * *
• Clear cache every 15 minutes → */15 * * * *
• Send weekly report Monday 8am → 0 8 * * 1
• Health-check every minute → * * * * *
* vs */ — What's the difference?
* means "every value" — e.g. * in the minute field runs every minute.
*/n means "every n units" — e.g. */5 runs at minutes 0, 5, 10, 15…
A range like 1-5 matches values 1 through 5 only.
Setting Cron Jobs in DirectAdmin
In DirectAdmin go to Advanced → Cron Jobs. Enter each field (Minutes, Hours, Day, Month, Weekday) and the command to run, e.g. /usr/local/bin/php /home/user/public_html/cron.php
Hosting with Unlimited Cron Jobs from 500 THB/year
Set up Cron Jobs via DirectAdmin · Supports PHP & Shell scripts · 99% Uptime
View Hosting Plans