mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Highlight the weekends on daily graphs.
Random bug fixes and cleanups.
This commit is contained in:
parent
c7af1c127c
commit
de66480d5f
7 changed files with 30 additions and 7 deletions
|
@ -261,7 +261,7 @@ def initialize_scheduler():
|
|||
minutes = 0
|
||||
schedule_job(versioncheck.checkGithub, 'Check GitHub for updates', hours=0, minutes=minutes)
|
||||
|
||||
# Start checking for new sessions every minute
|
||||
# Start checking for new sessions at set interval
|
||||
if CONFIG.MONITORING_INTERVAL:
|
||||
# Our interval should never be less than 30 seconds
|
||||
if CONFIG.MONITORING_INTERVAL > 30:
|
||||
|
@ -271,7 +271,7 @@ def initialize_scheduler():
|
|||
else:
|
||||
seconds = 0
|
||||
|
||||
if CONFIG.PMS_IP:
|
||||
if CONFIG.PMS_IP and CONFIG.PMS_TOKEN:
|
||||
schedule_job(plextv.get_real_pms_url, 'Refresh Plex Server URLs', hours=12, minutes=0, seconds=0)
|
||||
schedule_job(monitor.check_active_sessions, 'Check for active sessions', hours=0, minutes=0, seconds=seconds)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue