Test APSchedule python library Python version: 3.9.13 Virtual Env: venv Create venv project python -m venv apschedule_env Activate venv apschedule_env\Scripts\activate Install python library pip install -r requirements Run schedule task python task_apscheduler.py Document Reference https://apscheduler.readthedocs.io/en/3.x/userguide.html https://github.com/agronholm/apscheduler