mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 07:19:36 +02:00
Fix scheduler
This commit is contained in:
parent
2ef4917adf
commit
704d26f867
2 changed files with 3 additions and 32 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue