Quick-Fix Mensa cronjob
This commit is contained in:
@ -82,7 +82,7 @@ def formatDay(day: datetime):
|
|||||||
return day
|
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():
|
def refreshMeals():
|
||||||
print("Aktualisiere Essenspläne...\n")
|
print("Aktualisiere Essenspläne...\n")
|
||||||
with scheduler.app.app_context():
|
with scheduler.app.app_context():
|
||||||
|
|||||||
Reference in New Issue
Block a user