I have a schedule which runs every hour. But I would like to change this in a trigger script with a run period based on a variable.
I can't seem to determine how to change the period by looking at indigo.schedules[u'MySchedule']
tell application "IndigoServer"
set mySchedule to time date action named "Your Schedule Name Here"
set countdown delta of mySchedule to value of variable "NAME OF VARIABLE WITH SECONDS TO COUNTDOWN" as integer
end tell
Users browsing this forum: No registered users and 6 guests