Script a delayed action or schedule?

Posted on
Mon Mar 08, 2021 8:52 am
ryanbuckner offline
Posts: 1074
Joined: Oct 08, 2011
Location: Northern Virginia

Script a delayed action or schedule?

I have a script that runs every morning at a certain time. The script interacts with a web page so every so often (or when chrome updates), it fails. When that happens I'd like to automatically set it to run again in 5 minutes. Is there a way to create a schedule, delayed action, or even to delete a delayed action?

Posted on
Mon Mar 08, 2021 10:46 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Script a delayed action or schedule?

Without more detail, I'm guessing here, but I think you could just have your script catch the failure, sleep for 5 minutes, then try again. You'd want it to be an external script rather than an embedded one, but from your description that would seem like a solution.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron