haha yes it works now

This commit is contained in:
Frank Schwenk
2026-06-10 10:38:43 +02:00
parent c9a86f1e0e
commit b5390b8ced
5 changed files with 77 additions and 24 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ async def _ensure_today_motivation() -> None:
await db.close()
async def _ensure_weekly_oracle() -> None:
async def _ensure_today_oracle() -> None:
config = load_meds_config()
db = await get_db()
try:
@@ -55,7 +55,7 @@ async def lifespan(app: FastAPI):
await db.close()
start_scheduler()
asyncio.create_task(_ensure_today_motivation())
asyncio.create_task(_ensure_weekly_oracle())
asyncio.create_task(_ensure_today_oracle())
yield