cPanel UI Time‑Zone Setting and Cron Job Scheduling Interoperability
0 reputation · 04 Feb 2020, 14:14 UTC
cPanel provides a single global time‑zone setting in WHM → Server Configuration → Server Time Zone that governs all date stamps, log entries, and cron job execution times.
The cron interface displays scheduled times in the server’s zone and always runs jobs according to that setting, regardless of a user’s locale or the time zone shown in the file manager or backup logs.
An unresolved design decision is whether to add per‑user (or per‑domain) time‑zone support for scheduled tasks so that cron jobs could fire relative to a user’s local time while preserving existing schedules.
Introducing such a feature raises questions about backward compatibility, the need to migrate or adjust current cron entries, and where the new zone data should be stored.
What impact would adding a per‑user time‑zone field have on existing cron schedules? How could cPanel preserve backward compatibility when introducing per‑user time‑zone support for cron jobs? Should per‑user time‑zone settings be stored in the user’s cPanel metadata or in a separate system table?