Compare commits
2 Commits
211afa3966
...
b8eb97e8e2
Author | SHA1 | Date | |
---|---|---|---|
b8eb97e8e2 | |||
14490bd7d2 |
@ -1,5 +1,5 @@
|
||||
[tool.bumpversion]
|
||||
current_version = "1.2.19"
|
||||
current_version = "1.2.20"
|
||||
commit = true
|
||||
tag = true
|
||||
tag_name = "{new_version}"
|
||||
|
@ -22,7 +22,7 @@ def create_app():
|
||||
# Schedule the daily account check
|
||||
scheduler = BackgroundScheduler()
|
||||
# Pass the app instance to the job
|
||||
scheduler.add_job(func=lambda: send_expiry_notifications(app), trigger="interval", days=1)
|
||||
scheduler.add_job(func=lambda: send_expiry_notifications(app), trigger="cron", hour=10, minute=0)
|
||||
scheduler.start()
|
||||
|
||||
# Register blueprints
|
||||
|
Loading…
x
Reference in New Issue
Block a user