1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 07:19:36 +02:00

Fix scheduler

This commit is contained in:
Sean Morley 2024-08-21 10:06:09 -04:00
parent 2ef4917adf
commit 704d26f867
2 changed files with 3 additions and 32 deletions

View file

@ -46,11 +46,12 @@ def start_scheduler():
scheduler.add_job(
run_worldtravel_seed,
trigger="interval",
minutes=3,
hours=24,
id="worldtravel_seed",
max_instances=1,
replace_existing=True,
)
logger.info("Starting scheduler...")
scheduler.start()
scheduler.start()
return scheduler