mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
15 lines
397 B
Python
15 lines
397 B
Python
from logger.logger import log
|
|
from tasks.scan_library import scan_library_task
|
|
from tasks.update_switch_titledb import update_switch_titledb_task
|
|
from tasks.tasks import tasks_scheduler
|
|
|
|
if __name__ == "__main__":
|
|
# Initialize the tasks
|
|
scan_library_task.init()
|
|
update_switch_titledb_task.init()
|
|
|
|
log.info("Starting scheduler")
|
|
|
|
# Start the scheduler
|
|
tasks_scheduler.run()
|