try to pass param with scheduler

This commit is contained in:
Lei PAN
2022-07-08 21:39:44 +02:00
parent 904f15c151
commit 9d139ff947
3 changed files with 6 additions and 23 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def start_check_results_job(sched):
sched.add_job(check_results, 'cron', day_of_week='mon-sat', hour='20',
minute='55',
misfire_grace_time=10,
second='0', timezone='Europe/Paris', max_instances=1)
second='0', timezone='Europe/Paris', max_instances=1, args=[True])
def config_and_start_jobs():