Cron Expression
0 0 1 * *
Learn how to create a cron expression for 'cron every month'. Runs monthly on the 1st at midnight with our free cron generator tool.
Field | Value | Meaning |
---|---|---|
Minute | 0 | At minute 0 |
Hour | 0 | At hour 0 |
Day of Month | 1 | Day 1 |
Month | * | Any month |
Day of Week | * | Any day of the week |
This cron expression represents: cron every month
0 0 1 * *
Runs monthly on the 1st at midnight
This cron schedule is commonly used for:
crontab -e
0 0 1 * * /path/to/your/script.sh
0 0 1 * * /path/to/script.sh >> /var/log/cron.log 2>&1
0 0 1 * * /path/to/script.sh || mail -s "Cron job failed" admin@example.com