Cron Job Every Day at Midnight – Expression & Examples
Setting minute to 0 and hour to 0 runs the job once per day at midnight (00:00). All date fields are wildcards.
How It Works
Setting minute to 0 and hour to 0 runs the job once per day at midnight (00:00). All date fields are wildcards.
Common Use Cases
- Daily database backups
- Log rotation
- Analytics report generation
- Expired token cleanup
Schedule This Cron Job Now
Create a free CronJobPro account and use 0 0 * * * to schedule HTTP requests automatically — with monitoring, retries, and notifications built in.
Frequently Asked Questions
What does 0 0 * * * mean in cron?
Setting minute to 0 and hour to 0 runs the job once per day at midnight (00:00). All date fields are wildcards.
How do I use this cron expression?
On Linux/macOS, edit your crontab with crontab -e and add:0 0 * * * /path/to/your/script.sh
Or use CronJobPro to schedule HTTP requests with this expression — no server required.
What timezone does cron use?
By default, cron uses the system timezone. CronJobPro lets you set a specific timezone per job, so your schedules are predictable regardless of server location.