Skip to content

Commit

Permalink
Fix cron schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
midzelis committed Jun 21, 2023
1 parent 8ea55c5 commit 27d0064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27d0064

Please sign in to comment.