Skip to content

Commit

Permalink
bugfixing scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
joschobart committed Aug 26, 2024
1 parent e5b5888 commit 2e1f48c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fun_with_flags/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def create_app(test_config=None):
# regular job for challenging friendlies
sched.add_job(scheduler.sensor, "cron", day_of_week="thu", hour=8, minute=15)
# regular job for adding matches to user-db
sched.add_job(scheduler.sensor, "cron", day_of_week="tue", hour=1, minute=20)
sched.add_job(scheduler.sensor, "cron", day_of_week="tue", hour=1, minute=25)
# v--- testing ---v
# sched.add_job(scheduler.sensor, "cron", day_of_week="mon-sun", hour=21, minute=40)
sched.start()
Expand Down
2 changes: 1 addition & 1 deletion fun_with_flags/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def sensor():
schedule(_object, "tuesday")

else:
pass
continue

# Finally delete fernet-token from DB
# to mark a done transaction.
Expand Down

0 comments on commit 2e1f48c

Please sign in to comment.