HTTPfy

Every day at 11:59pm

At 23:59 every day, one minute before midnight.

365runs in the next 365 days
7runs per week
1 daybetween every run
23:59next run, Wed 11 Nov UTC

What it is used for

Closing out the current day: snapshotting counters, rotating a log so it contains exactly one day.

Field by field

FieldValueMatches
Minute5959
Hour2323
Day of month*every value
Month*every value
Day of week*every value
59 23 * * * /path/to/job

Next 10 run times

Computed when this page loaded (2026-11-11 02:24 UTC), assuming the scheduler runs in UTC.

#UTCYour local time
1Wed 2026-11-11 23:59
2Thu 2026-11-12 23:59
3Fri 2026-11-13 23:59
4Sat 2026-11-14 23:59
5Sun 2026-11-15 23:59
6Mon 2026-11-16 23:59
7Tue 2026-11-17 23:59
8Wed 2026-11-18 23:59
9Thu 2026-11-19 23:59
10Fri 2026-11-20 23:59

Things to watch with this schedule

  • A job started at 23:59 that takes longer than a minute finishes on the next day, so date-based file names or queries computed inside the job can point at the wrong day. Capture the date once at start-up, or run at 00:00 and process 'yesterday' instead.

Kubernetes CronJob

Kubernetes uses the same five fields. Set spec.timeZone (stable since Kubernetes 1.27), otherwise the schedule follows the time zone of kube-controller-manager.

apiVersion: batch/v1
kind: CronJob
metadata:
  name: every-day-at-11-59pm
spec:
  schedule: "59 23 * * *"
  timeZone: "Etc/UTC"
  concurrencyPolicy: Forbid
  startingDeadlineSeconds: 300
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: job
              image: debian:bookworm-slim
              command: ["/bin/sh", "-c", "/app/run-job.sh"]

GitHub Actions

Workflow schedules use five-field cron in UTC and run only from the default branch.

on:
  schedule:
    - cron: '59 23 * * *'   # UTC

jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: ./run-job.sh

systemd timer

The equivalent OnCalendar= value is *-*-* 23:59:00. Check it with systemd-analyze calendar '*-*-* 23:59:00', which prints the next elapse time. Persistent=true runs a missed job after downtime, which classic cron never does.

[Unit]
Description=Every day at 11:59pm

[Timer]
OnCalendar=*-*-* 23:59:00
Persistent=true

[Install]
WantedBy=timers.target

AWS EventBridge

EventBridge rules take six fields (minute, hour, day-of-month, month, day-of-week, year) in UTC; EventBridge Scheduler can use a time zone. One of day-of-month and day-of-week must be ?, and day-of-week runs 1-7 from Sunday, so names are used here.

cron(59 23 * * ? *)

Quartz Scheduler (Java)

Quartz adds a leading seconds field and needs ? in either day field; days of the week are 1 (SUN) to 7 (SAT).

0 59 23 * * ?

Spring's @Scheduled(cron = ...) also uses six fields, but numbers days of the week 0-7 with Sunday as 0 or 7, like Unix cron; the names shown above work in both.

Related schedules