Commit a15b36b8 authored by Patrik Dufresne's avatar Patrik Dufresne

Merge branch 'develop/demon-task-1027' into 'master'

TASK-1027 Fix bug in deamon plugin scheduler

See merge request pdsl/rdiffweb!2
parents 88947f64 4203cf87
Pipeline #262 passed with stages
in 53 minutes and 10 seconds
......@@ -489,7 +489,7 @@ class JobPlugin(IDeamonPlugin):
now =
exec_time = now.replace(hour=exec_time.hour, minute=exec_time.minute, second=0, microsecond=0)
if exec_time < now:
exec_time = exec_time.replace( + 1)
exec_time = exec_time + datetime.timedelta(days=1)
return exec_time
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment