diff --git a/fetchMENSA.py b/fetchMENSA.py index ba1ba72..9b7df83 100644 --- a/fetchMENSA.py +++ b/fetchMENSA.py @@ -82,7 +82,7 @@ def formatDay(day: datetime): return day -@scheduler.task('cron', id="refreshMeals", hour=8-11, day_of_week='*', minute='15', week='*', second='30') +@scheduler.task('cron', id="refreshMeals", hour='8-11', day_of_week='*', minute='15', week='*', second='30') def refreshMeals(): print("Aktualisiere Essenspläne...\n") with scheduler.app.app_context():