mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-18 17:15:13 +01:00
changing interval start times to midnight. not when the schedule was created. I think this will be more what people are expecting.
This commit is contained in:
parent
7981f90a77
commit
e310d0e48b
@ -1008,7 +1008,8 @@ class PanelHandler(BaseHandler):
|
||||
"interval_type": '',
|
||||
"interval": '',
|
||||
"command": '',
|
||||
"start_time": current_time,
|
||||
#We'll base every interval off of a midnight start time.
|
||||
"start_time": '00:00',
|
||||
"command": command,
|
||||
"cron_string": cron_string,
|
||||
"enabled": enabled,
|
||||
@ -1022,7 +1023,8 @@ class PanelHandler(BaseHandler):
|
||||
"interval": interval,
|
||||
"command": command,
|
||||
"enabled": enabled,
|
||||
"start_time": current_time,
|
||||
#We'll base every interval off of a midnight start time.
|
||||
"start_time": '00:00',
|
||||
"one_time": one_time,
|
||||
"cron_string": ''
|
||||
}
|
||||
@ -1124,7 +1126,8 @@ class PanelHandler(BaseHandler):
|
||||
"interval_type": '',
|
||||
"interval": '',
|
||||
"command": '',
|
||||
"start_time": current_time,
|
||||
#We'll base every interval off of a midnight start time.
|
||||
"start_time": '00:00',
|
||||
"command": command,
|
||||
"cron_string": cron_string,
|
||||
"enabled": enabled,
|
||||
@ -1138,7 +1141,8 @@ class PanelHandler(BaseHandler):
|
||||
"interval": interval,
|
||||
"command": command,
|
||||
"enabled": enabled,
|
||||
"start_time": current_time,
|
||||
#We'll base every interval off of a midnight start time.
|
||||
"start_time": '00:00',
|
||||
"one_time": one_time,
|
||||
"cron_string": ''
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user