Files
swingmusic-extended/app/crons/__init__.py
T
2024-10-27 06:35:37 +01:00

16 lines
265 B
Python

import time
import schedule
from app.crons.mixes import Mixes
from app.utils.threading import background
@background
def start_cron_jobs():
"""
This is the function that triggers the cron jobs.
"""
Mixes().run()
# schedule.run_pending()