Panel and server · cron
A scheduled job runs at the wrong hour
Last updated 30 Nov 2026
A job set for 03:00 runs hours earlier or later. Cron uses the server's time zone, often UTC on a VPS, so write the schedule in that time zone.
Symptoms
A job runs a whole number of hours before or after the hour you set.
Cause
Cron reads the hours in the crontab in the server's time zone. Many VPS images use UTC.
Resolution
Check the server's time zone.
timedatectlWrite the job's hours in the time zone shown by
timedatectl.On AlmaLinux, cron reads
CRON_TZ, so you can set a time zone for the crontab. Runcrontab -u USER -eand add a line such asCRON_TZ=America/Monterreyabove the jobs. Ubuntu's cron ignoresCRON_TZ.You can also change the server's time zone. This changes the time zone for every job and every log.
timedatectl set-timezone America/MonterreyRun
timedatectlagain to confirm it showsAmerica/Monterrey.
Still need help?Ask in the community ↗Open a support ticket ↗