Skip to content

Commit

Permalink
set max_instances=1 in scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
zaironjacobs committed Aug 21, 2024
1 parent e1e2a45 commit 564d292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmony_api/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@


@scheduler.scheduled_job(
"cron", year="*", month="*", day="*", hour="*/12", minute="0", second="0"
trigger="cron", max_instances=1, year="*", month="*", day="*", hour="*/12", minute="0", second="0"
)
def do_every_12th_hour():
"""
Expand Down

0 comments on commit 564d292

Please sign in to comment.