Add check interval in extended.conf.
This commit is contained in:
parent
32c8923955
commit
7cfd44f828
2 changed files with 10 additions and 5 deletions
|
@ -1,8 +1,11 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="0.1"
|
scriptVersion="0.5"
|
||||||
scriptName="ARLChecker"
|
scriptName="ARLChecker"
|
||||||
|
|
||||||
|
### Import Settings
|
||||||
|
source /config/extended.conf
|
||||||
|
|
||||||
echo Starting ARL Token Check...
|
echo Starting ARL Token Check...
|
||||||
python /custom-services.d/python/ARLChecker.py -c
|
python /custom-services.d/python/ARLChecker.py -c
|
||||||
echo ARL Token Check Complete. Sleeping for 24hrs...
|
echo ARL Token Check Complete. Sleeping for 24hrs...
|
||||||
sleep 1m
|
sleep "$arlUpdateInterval"
|
|
@ -73,7 +73,9 @@ plexUrl="" # ONLY used if PlexNotify.bash is used, example: http://x.x.x.x:324
|
||||||
plexToken="" # ONLY used if PlexNotify.bash is used
|
plexToken="" # ONLY used if PlexNotify.bash is used
|
||||||
|
|
||||||
##### DEEZER ARL UPDATE SCRIPT OPTIONALS
|
##### DEEZER ARL UPDATE SCRIPT OPTIONALS
|
||||||
telegramBotEnable="false"
|
arlUpdateInterval='1m' # Interval to check ARL Validity (default 24 hours). Reboot container after changing. s = seconds, m = minutes, h = hours, d = days
|
||||||
telegramBotToken="" # Get token from BotFather during bot creation. If you use a notify channel for Lidarr, you can probably use the same bot, as this script only takes temporary control.
|
telegramBotEnable="false" # Enable/Disable Telegram Bot to notify if ARL expires. Otherwise check text file in custom-services.d/python for status.
|
||||||
telegramUserChatID="" # Get your userid by chatting: t.me/userinfobot
|
telegramBotToken="" # Get token from BotFather during bot creation. If you use a notify channel for Lidarr, you can probably use the same bot, as this script only takes temporary control.
|
||||||
|
telegramUserChatID="" # Get your userid by chatting: t.me/userinfobot
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue