youtube-channel-manager/YtManagerApp/appmain.py

12 lines
321 B
Python
Raw Permalink Normal View History

2018-10-13 20:01:45 +00:00
from .appconfig import initialize_app_config
2018-10-10 22:43:50 +00:00
from .scheduler import initialize_scheduler
from .management.jobs.synchronize import schedule_synchronize_global
2018-10-10 22:43:50 +00:00
import logging
def main():
2018-10-13 20:01:45 +00:00
initialize_app_config()
2018-10-10 22:43:50 +00:00
initialize_scheduler()
schedule_synchronize_global()
2018-10-10 22:43:50 +00:00
logging.info('Initialization complete.')