Run a Job Every Weekday at Midnight
The expression 0 0 * * 1-5 schedules a task for midnight, Monday through Friday. Validate it here.
Next 5 Run Dates ()
What does 0 0 * * 1-5 mean?
The cron expression 0 0 * * 1-5 translates to At 12:00 AM, Monday through Friday.
This schedule completely ignores Saturday and Sunday, making it perfect for corporate systems that only operate during the standard business week. It's widely used to clear out weekday temporary caches or prepare staging environments for Monday morning developers.