⏱OpsTools

Cron Expression for Daily at 11:59 PM

59 23 * * *→Runs at 23:59 every day
59
Minute
0–59
23
Hour
0–23
*
Day
1–31
*
Month
1–12
*
Weekday
0–7

Quick Examples

How It Works

The expression 59 23 * * * is useful when you want the last minute of the calendar day before midnight rollover.

Common Use Cases

  • 1Closing out daily accounting
  • 2Final daily log rotation before midnight jobs

Linux Crontab Example

59 23 * * * /app/end-of-day.sh

Add this line to your crontab with crontab -e

Need a custom schedule?

Build your own cron expression visually with our generator.

Open Generator →