Cron expression for every day at 3:30 AM

Runs the job once a day at 3:30 AM in whatever timezone the scheduler runs in.

30 3 * * *

Generator

At 03:30 AM

Field by field

  • Minute · 0–59 30 only at minute 30
  • Hour · 0–23 3 only at 03:00
  • Day of month · 1–31 * every day of the month
  • Month · 1–12 or JAN–DEC * every month
  • Day of week · 0–7 or SUN–SAT * every day of the week

Next runs in your local time

Why this schedule, and when it bites

3:30 AM is the standard quiet-hours backup slot: far from the evening traffic peak and early enough that a failed run can be retried before anyone needs the data. 30 3 * * * is minute 30, hour 3, and the rest of the fields wide open. Most problems with this schedule are not about syntax at all; they are about the timezone of the machine that reads it.

Minute first, hour second. 30 3 means 3:30. Writing 3 30 parses as minute 3 of hour 30, which is impossible, and the daemon either errors or silently never runs. When a nightly job never fires, read the field order before doubting the daemon.

The server thinks in its own timezone. A VPS in UTC runs the job at 3:30 UTC, which is 6:30 in Kyiv. Backups do not care; reports for yesterday do. Set TZ or CRON_TZ deliberately, and record the zone next to the schedule.

DST shifts the wall clock. On the night clocks jump forward, 3:30 local may not exist; on fall-back it happens twice. Most cron daemons skip or run once, implementations differ. For a backup that must run exactly once a night, trigger on the first boot after the window instead.

Where this cron expression shows up

  • Nightly database backups
  • Log rotation and pruning
  • Batch imports that have to finish before the workday starts

Common variations

Ranges, steps, and names are spelled out on the cheat sheet.

Questions this schedule raises

Why does my 3:30 job run at 6:30?

The daemon follows the host timezone, and a server provisioned in UTC runs 3:30 UTC, which is 6:30 in Kyiv in summer. Set the host timezone or the CRON_TZ variable on daemons that support it, then verify with date inside the job.

What does 30 3 * * * mean if the day fields are stars?

Stars mean every day, every month, every weekday. The schedule is daily at 03:30. Adding a weekday later, for example 1-5, narrows it to workdays; leaving the stars means weekends run too.