Gateway Scheduled Script change hour

Hello, i have a Gateway Scheduled Scripts that runs every day at 2:00pm, the problem is that this Script could fail, in that case, i would like to change the time of the Script so it could run again 15 minutes later, but only if the first one failed, is this possible?

How about,

  • Create a memory tag of type Date.
  • Schedule the script to run at 14:00 and 14:15.
  • Have your script update the tag with the current timestamp on successful completion of the script.
  • At the start of the script check the memory tag and exit the script if the timestamp is less than 16 minutes ago.
5 Likes