Trigger(NEW_DAY_TRIGGER, nil);
the first parameter is the condition, in this case, "new day";
the second parameter is the function that is executed when the condition is met. This is what needs to be reset when the trigger is turned off.
New here? I'm Roha — want a quick tour?