scheduler.add_job(update_all_episodes_and_movies,'cron',hour=4,max_instances=1,coalesce=True,misfire_grace_time=15,id='update_all_episodes_and_movies',name='Update all subtitles from disk',replace_existing=True)
scheduler.add_job(update_all_episodes_and_movies,'cron',day_of_week='sun',hour=4,max_instances=1,coalesce=True,misfire_grace_time=15,id='update_all_episodes_and_movies',name='Update all subtitles from disk',replace_existing=True)
scheduler.add_job(update_all_episodes_and_movies,'cron',year='2100',hour=4,max_instances=1,coalesce=True,misfire_grace_time=15,id='update_all_episodes_and_movies',name='Update all subtitles from disk',replace_existing=True)
scheduler.add_job(check_and_apply_update,'interval',hours=6,max_instances=1,coalesce=True,misfire_grace_time=15,id='update_bazarr',name='Update bazarr from source on Github')
scheduler.add_job(update_series,'interval',minutes=1,max_instances=1,coalesce=True,misfire_grace_time=15,id='update_series',name='Update series list from Sonarr')
scheduler.add_job(sync_episodes,'interval',minutes=5,max_instances=1,coalesce=True,misfire_grace_time=15,id='sync_episodes',name='Sync episodes with Sonarr')
scheduler.add_job(update_movies,'interval',minutes=1,max_instances=1,coalesce=True,misfire_grace_time=15,id='update_movies',name='Update movies list from Radarr')
scheduler.add_job(wanted_search_missing_subtitles,'interval',hours=3,max_instances=1,coalesce=True,misfire_grace_time=15,id='wanted_search_missing_subtitles',name='Search for wanted subtitles')