How to Build Cron Expressions for Task Scheduling
Cron is the Unix task scheduler that runs scripts, backups, and maintenance jobs at specified times. But cron syntax โ those five fields of numbers and asterisks โ is cryptic even for experienced developers. A visual cron builder translates your intent into correct syntax and explains it in plain English.
Understanding cron syntax
A cron expression has five fields: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-6, where 0 is Sunday). An asterisk means "every." So 0 2 * * * means "at 2:00 AM every day." The ToolStand Cron Expression Builder provides a visual interface โ select values from dropdowns, and the builder constructs the expression while showing a human-readable description.
Common cron schedules
Every minute: * * * * * โ for development and testing only. Every hour: 0 * * * * โ good for hourly data syncs. Daily at midnight: 0 0 * * * โ database backups. Weekly on Monday at 3 AM: 0 3 * * 1 โ weekly reports. First day of month: 0 0 1 * * โ monthly invoicing. Every 15 minutes: */15 * * * * โ health checks and monitoring.
Special characters
Asterisk (*) : Every value. Comma (,): List of values โ 1,3,5 means days 1, 3, and 5. Hyphen (-): Range โ 1-5 means Monday through Friday. Slash (/): Step โ */5 means every 5 units. The cron builder handles these special characters visually, so you do not need to memorize the syntax.
Explore all 109 free tools at toolstand.io. Free, forever. No sign-up. No download. Just tools that work.