mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
Make sure we store the real start value for a schedule
This commit is contained in:
parent
4a535e5404
commit
2913ce21d2
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user