diff --git a/ktvmanager/main.py b/ktvmanager/main.py index ca4d7d9..836fcfa 100644 --- a/ktvmanager/main.py +++ b/ktvmanager/main.py @@ -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