mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 14:09:28 -02:30
Make sure we store the real start value for a schedule
This commit is contained in:
@@ -92,7 +92,7 @@ class Schedule(CommonModel):
|
||||
|
||||
self.next_run = next_run_actual
|
||||
if self.dtstart is None:
|
||||
self.dtstart = self.next_run
|
||||
self.dtstart = future_rs[0]
|
||||
if self.dtend is None and "until" in self.rrule.lower() or 'count' in self.rrule.lower():
|
||||
self.dtend = future_rs[-1]
|
||||
self.unified_job_template.update_computed_fields()
|
||||
|
||||
Reference in New Issue
Block a user