|
|
|
|
@ -130,11 +130,11 @@ def save_jobs():
|
|
|
|
|
raise Exception("Could not save scheduler job " +
|
|
|
|
|
job.id+" - Trigger is not a CronTrigger")
|
|
|
|
|
saved_jobs.append(job.id)
|
|
|
|
|
if hasattr(job,"next_run_time"):
|
|
|
|
|
if next_job_time is not None:
|
|
|
|
|
if job.next_run_time < next_job_time:
|
|
|
|
|
next_job_time = job.next_run_time
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
|
|
next_job_time = job.next_run_time
|
|
|
|
|
|
|
|
|
|
with open(joblist_path+".writing", 'w+') as f:
|
|
|
|
|
|