A municipal reporting CronJob was meant to run once per day at 02:00, but Jobs keep appearing every hour. Which schedule expression correctly runs only daily at 02:00 UTC?
Select an answer to reveal the explanation.
Short Explanation
Think of cron like an alarm clock face: the minute and hour slots decide when the bell rings. Putting 0 in the minute slot and 2 in the hour slot means “at 02:00,” while a star in the hour slot means “every hour.”
Full Explanation
A CronJob’s schedule field uses standard cron syntax: minute, hour, day of month, month, day of week. The expression 0 2 creates a Job at 02:00 every day. An hourly schedule such as 0 * fires at minute 0 of every hour, which matches the mistaken behavior. Field order matters—swapping minute and hour produces a different cadence.