I would like to create a schedule with a trigger, with the timing of the schedule event calculated by adding, say, 30 minutes, from the time of the trigger.
To elaborate, I'm trying to solve the following situation:
- trigger turns on Device A at the time of the trigger, and Device B 30 minutes later.
- using the 30 minute delay feature in the trigger creates a problem if I decide to cancel the trigger before the 30 minutes has lapsed. In other words, turning off Device A does not disable the turning on of Device B. While I could make the turning on of Device B contingent upon the state of Device A, there are circumstances when I want to turn on Device B regardless of the state of Device A.
The following scenario would solve my issue: a trigger that turned on Device A at say 0713, that also created an ad hoc schedule which turned on Device B at 0743 (30 minutes later). Thus, if at 0728, I decided to turn off Device A, I could solve the problem by disabling the ad hoc schedule that was created for Device B.
I solved this problem with an Apple Script. I am working at eliminated all ASs.