async test

This commit is contained in:
2024-04-08 20:48:34 +02:00
parent 56ec2cfb15
commit 211ec18887
9 changed files with 344 additions and 59 deletions

View File

@ -3,7 +3,7 @@ from urllib.request import urlretrieve
import icalendar
import json
import recurring_ical_events
from init import scheduler
#from init import scheduler
def parseURL(url: str):
@ -93,7 +93,7 @@ def getRaplas():
return sorted(kursl), sorted(filel), sorted(urll)
@scheduler.task("interval", id="refreshRapla", minutes=5)
#@scheduler.task("interval", id="refreshRapla", minutes=5)
def refreshRapla():
"""
Aktualisiert alle 5 Minuten alle gespeicherten Raplas.