Closed PHILO-HE closed 4 years ago
In another word, "now" should be the time of scheduling after the triggering, instead of the time when parsing the rule after the submission.
User needs to note that if a specific time is given for one shot rule, that time should not be earlier than the rule's trigger time.
When "at now" is embedded in SSM rule, in the rule parsing time, current time will replace it to mark start/end time (one time execution). But in the scheduling time, rule executor will reject the execution because it finds the scheduling time is later than the end time of rule. We need to delay the assignment of end time of rule to the time when scheduling occurs.