Add background job scheduler for timer functions

- Implement asynchronous timer function execution using APScheduler
- Add support for concurrent timer function invocations with asyncio
- Create background job to check and run enabled timer functions at specified intervals
- Update requirements.txt to include aiohttp and flask-apscheduler
- Configure thread pool executor for scheduler
- Add error handling and logging for timer function executions
This commit is contained in:
Peter Stockings
2025-02-23 16:48:01 +11:00
parent 556a4430ad
commit 1b7cfcc8b8
2 changed files with 139 additions and 2 deletions

View File

@@ -9,4 +9,6 @@ jinja2-fragments==0.3.0
Werkzeug==2.2.2
requests==2.26.0
Flask-Login==0.6.3
python-dotenv==1.0.1
python-dotenv==1.0.1
aiohttp==3.11.12
flask-apscheduler==1.13.1