Skip to content

Commit 8b9a3ae

Browse files
committed
call run method of scheduled task
1 parent 482c1c1 commit 8b9a3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/mapswipe_workers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def _run():
241241
_run_generate_stats(project_ids)
242242

243243
if schedule:
244-
sched.every(10).minutes.do(_run)
244+
sched.every(10).minutes.do(_run).run()
245245
while True:
246246
sched.run_pending()
247247
time.sleep(1)

0 commit comments

Comments
 (0)