mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Option to update PlexPy automatically
This commit is contained in:
parent
83c304290b
commit
91716527a4
5 changed files with 22 additions and 4 deletions
|
@ -297,7 +297,7 @@ def initialize_scheduler():
|
|||
github_minutes = CONFIG.CHECK_GITHUB_INTERVAL if CONFIG.CHECK_GITHUB_INTERVAL and CONFIG.CHECK_GITHUB else 0
|
||||
|
||||
schedule_job(versioncheck.checkGithub, 'Check GitHub for updates',
|
||||
hours=0, minutes=github_minutes, seconds=0)
|
||||
hours=0, minutes=github_minutes, seconds=0, args=(bool(CONFIG.PLEXPY_AUTO_UPDATE),))
|
||||
|
||||
backup_hours = CONFIG.BACKUP_INTERVAL if 1 <= CONFIG.BACKUP_INTERVAL <= 24 else 6
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue