File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22### Default values
3- scriptVersion="1.2 "
3+ scriptVersion="1.3 "
44scriptName="ARLChecker"
55sleepInterval='24h'
66### Import Settings
@@ -14,19 +14,19 @@ if [ "$dlClientSource" == "tidal" ]; then
1414 sleep infinity
1515fi
1616
17- echo Starting ARL Token Check...
17+ log " Starting ARL Token Check..."
1818# run py script
1919python /custom-services.d/python/ARLChecker.py -c
2020
2121# If variable doesn't exist, or not set by user in extended.conf, fallback to 24h
2222# See issue #189
2323if [[ -v arlUpdateInterval ]] && [ "$arlUpdateInterval" != "" ]
2424then
25- echo ' Found Interval in extended.conf'
25+ log " Found Interval in extended.conf"
2626 sleepInterval="$arlUpdateInterval"
2727else
28- echo ' Interval Fallback'
28+ log " Interval Fallback"
2929fi
3030
31- echo ARL Token Check Complete. Sleeping for ${sleepInterval}.
31+ log " ARL Token Check Complete. Sleeping for ${sleepInterval}."
3232sleep ${sleepInterval}
You can’t perform that action at this time.
0 commit comments