Configure Schedule
Use * for "every", digits for specific numbers.
Crontab Expression
Runs every minute
How to use
1. SSH into your server.
2. Run crontab -e.
3. Paste the code above followed by your command.
(e.g., * * * * * php /var/www/script.php)
Simplify Linux Cron Schedules
The Cron daemon is the workhorse of Linux server automation. It runs scripts at scheduled intervals. However, the syntax * * * * * is cryptic and easy to mess up. A visual generator ensures you get the schedule exactly right without needing to memorize the position of "Day of Week" vs "Day of Month".
Cron Syntax Breakdown
- Minute: 0-59
- Hour: 0-23 (24-hour format)
- Day of Month: 1-31
- Month: 1-12
- Day of Week: 0-6 (Sunday is 0)
Server Admin FAQ
What is the minimum interval?
Standard Cron runs every 1 minute. For second-level precision, you need a loop script or a different scheduler.
How do I run a PHP script?
Typically: /usr/bin/php /var/www/html/script.php. Always use absolute paths in Cron.
What does */5 mean?
It means "every 5 units". So */5 * * * * means "run every 5 minutes".