Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Therefore, for scheduling time intervals by which the 24-hour clock is not evenly divisible, it is recommended that instead you use a Cron trigger.

For example:
 

Image RemovedImage Added

Anchor
Restrict Times h2
Restrict Times h2
Restrict Times

...

However, if you want a task to be triggered every 7 hours from Monday to Friday and only between the hours of 8 a.m. and 7 p.m., a Time trigger will check the time on Monday at 12 a.m., 7 a.m., 2 p.m., and 9 p.m., but only will trigger the task at 2 p.m. (the only 7-hour interval time between 8 a.m. and 7 p.m.). On Monday at 9 p.m., it will continue checking the time every 7 hours, beginning on Tuesday at 4 a.m., and will trigger the task on Tuesday at 11 a.m. and 6 p.m. (both of which are 7-hour interval times between 8 a.m. and 7 p.m.).

For example:
 

Image RemovedImage Added

Anchor
Generating a List of Qualifying Times
Generating a List of Qualifying Times
Generating a List of Qualifying Times

...