Crontab Generator
Build cron expressions visually with real-time preview, natural language explanation, and next run calculator. Perfect for scheduling tasks, backups, and automated jobs.
Login Required
Sign in with Google to build cron expressions with presets, natural language, and scheduling. While you wait, explore our VPS benchmarks or browse other tools.
Common Presets
Field Builder
Command Generator
Full path to script or command (e.g., /usr/bin/python3 /home/scripts/backup.py)
* * * * * /path/to/command
📚 How to Add Cron Job to Your VPS
Connect to Your VPS
Open Crontab Editor
This opens your crontab file in the default editor (usually nano or vim)
Add Your Cron Job
Paste the line above at the end of the file
Save and Exit
Ctrl + X,
then Y,
then Enter
:wq
then Enter
Verify Cron Job
This lists all your active cron jobs to confirm it was added
💡 Tips & Troubleshooting
- • Always use absolute paths for scripts and commands
-
•
Make sure your script is executable:
chmod +x script.sh - • Test your script manually before adding to cron
-
•
Redirect output to log file:
command >> /var/log/cron.log 2>&1 -
•
Check cron logs:
grep CRON /var/log/syslog
📝 Common Examples
0 2 * * * /usr/bin/mysqldump -u root -p database > /backups/db_$(date +\%Y\%m\%d).sql
*/5 * * * * cd /var/www/html && php artisan queue:work --stop-when-empty
0 3 * * 0 find /tmp -type f -mtime +7 -delete
Saved Favorites
Your favorites are stored locally in your browser. They stay private on your device and won't sync across other devices.
Expression
Valid
* * * * *
Natural Language
🧩 Expression Breakdown
| Field | Value | Meaning |
|---|---|---|
| 1️⃣ Minute |
*
|
Every minute |
| 2️⃣ Hour |
*
|
Every hour |
| 3️⃣ Day |
*
|
Every day |
| 4️⃣ Month |
*
|
Every month |
| 5️⃣ Weekday |
*
|
Every day of week |
Next 10 Runs (Your Time)
Tool Spotlight
Crontab Generator - Build Cron Expressions Visually
Build cron expressions visually with a natural-language preview and next-run calculator for server automation workflows. Pair it with PHP-FPM Calculator and MySQL Calculator when planning maintenance tasks.
Key Features
- Visual field-by-field builder
- Real-time expression preview
- Natural language explanation (EN/ID)
- Next 10 runs calculator with timezone
- Favorites with localStorage
- Validation and warnings
Use Cases
- Schedule automated backups
- Set up monitoring jobs
- Configure cleanup tasks
- Plan deployment schedules