FlyingDiver wrote:Don't bother using a timestamp. Set the "generatorDidRun" variable to True in the action that sends the email. Then create a schedule that runs a couple hours after the generator is supposed to run. If the variable is False, send the did not run email. Then another schedule that runs a minute later that sets the variable back to False. No timestamps!
jay (support) wrote:I like this one. You don't need another schedule however, just add another action to set the variable back to False and delay it by 5 minutes.
FlyingDiver wrote:jay (support) wrote:I like this one. You don't need another schedule however, just add another action to set the variable back to False and delay it by 5 minutes.
But if there's a condition on the schedule to only execute if the variable to False, then it won't run the delayed action, would it?
jay (support) wrote:Sorry, I wasn't clear. You don't need the 3rd schedule, you can just have the first trigger (that set it to True) also set it back to False, but delay that action until after the schedule (that checks the variable and sends the negative case email) executes.
FlyingDiver wrote:Oh, I see what you mean. A delayed action on the vibration trigger that resets the flag AFTER the scheduled check runs. Depending on how accurate the auto-start clock is, that delay might be fairly long.
Users browsing this forum: No registered users and 1 guest