mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Check if _next_fire_tiem is less than or equal to now, eg. the time is now or has passed.
This commit is contained in:
parent
e786d60d78
commit
e34e2a8ea7
1 changed files with 1 additions and 1 deletions
|
@ -1769,7 +1769,7 @@ class Schedule:
|
|||
seconds=data["_seconds"]
|
||||
)
|
||||
elif "_skipped" in data and data["_skipped"]:
|
||||
if data["_next_fire_time"] == now:
|
||||
if data["_next_fire_time"] <= now:
|
||||
data["_next_fire_time"] = now + datetime.timedelta(
|
||||
seconds=data["_seconds"]
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue