Run schedule 5 minutes past

Posted on
Tue Jan 04, 2022 3:50 am
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Run schedule 5 minutes past

Hi, I want to run a schedule 5 minutes past the hour every 10 minutes. However when I set the Schedule to run "Every 10 mins" Indigo always defaults the next execution to odd minutes starting from o'clock minutes (eg: 00/10/20/30/40/50) whereas I want 05/15/25/35/45/55. How can I avoid this? The use case is that I need to run two separate schedules that run two different scripts that get me some data from a web service. I want to run each script every 10 mins but I need to keep 5 minutes between each call since the server backend is rate limited. Any ideas how I can achieve this? Thanks! :mrgreen:

Posted on
Tue Jan 04, 2022 10:30 am
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Run schedule 5 minutes past

I ended up having two schedules set for 10 minutes every hour with one of them having a 5 mins delay in the Action. It's not very elegant but it works. Perhaps there is a better way?

Posted on
Tue Jan 04, 2022 3:51 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Run schedule 5 minutes past

That is actually what I was going to suggest doing. Other option would be to handle the scheduling yourself in a python script, but I would just use the action delay option.

Note you could have have just a single Schedule which has 2 actions (1 of which would have the delay).

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron