From 27d0064ac4e0d391dd43e497405c6d8cc3d28d0d Mon Sep 17 00:00:00 2001 From: Min Idzelis Date: Wed, 21 Jun 2023 12:40:57 +0000 Subject: [PATCH] Fix cron schedule --- root/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/build.sh b/root/build.sh index 1f8941a5..13e443dd 100755 --- a/root/build.sh +++ b/root/build.sh @@ -17,7 +17,7 @@ if [ "${AUTOUPDATE,,}" = 'true' ]; then echo "SHELL=/bin/bash" > /etc/crontab echo "$(env | grep PATH):/command" >> /etc/crontab # be nice to Plex servers - space out updates at 4:00am over 30m window - echo "* 4 * * * root perl -le 'sleep rand 30' ; /etc/scripts/plex-update > /proc/1/fd/1 2>&1" >> /etc/crontab + echo "0 4 * * * root perl -le 'sleep rand 30' ; /etc/scripts/plex-update > /proc/1/fd/1 2>&1" >> /etc/crontab echo "Linking plex-install" ln -s /etc/scripts/plex-install /etc/cont-init.d/90-plex-install else