youtube-channel-manager/YtManagerApp/appmain.py

12 lines
321 B
Python

from .appconfig import initialize_app_config
from .scheduler import initialize_scheduler
from .management.jobs.synchronize import schedule_synchronize_global
import logging
def main():
initialize_app_config()
initialize_scheduler()
schedule_synchronize_global()
logging.info('Initialization complete.')