Periodic Trigger not scheduling correctly

@bravenel
Today, I noticed a simple rule I had to initialize a Google Mini every three hours was not triggering as often as it should. The app events log showed that it has only been triggering for the PM hours, not AM ones. It actually hadn't fired during AM hours for several months.

I deleted the rule and made a new one (below). As you can see, the scheduled jobs are skipping from 9:02 PM to 12:02 PM. Seems something might be amiss.

Thank you





Your rule states:

Every 3 hours starting at 12:02 PM EST

This would exclude the AM hours...
Try changing the rule to start at 12:02 AM

I'll certainly try that. I'm curious though, why would that exclude AM hours? I figured 'every 3 hours' would go around the clock, regardless of what time it starts.

2 Likes

The underlying mechanism that runs the handlers is CRON...

The CRON schedules times per day... starts at 00:00 and ends at 23:59... When you tell RM to schedule every 3 hours starting at 12:02... It does exactly that... It schedules 12:03, 15:02, 18:02 and 21:02... The run you expect at 00:02 is in the next day, and is before 12:02... so does not get scheduled.

5 Likes

That makes sense. Thank you for the explanation.

1 Like

Not a problem. 8-}