diff --git a/files/bashscripts/fileserver/akanealw/backup-scripts-to-gitrepo.sh b/files/bashscripts/fileserver/akanealw/backup-scripts-to-gitrepo.sh index a42acee..bd215ec 100755 --- a/files/bashscripts/fileserver/akanealw/backup-scripts-to-gitrepo.sh +++ b/files/bashscripts/fileserver/akanealw/backup-scripts-to-gitrepo.sh @@ -3,7 +3,7 @@ if ping -c 1 192.168.1.41 &> /dev/null then # proxyserver - ssh plexserver "crontab -l | tee /home/akanealw/scripts/crontab.bak > /dev/null 2>&1 \ + ssh proxyserver "crontab -l | tee /home/akanealw/scripts/crontab.bak > /dev/null 2>&1 \ && sudo crontab -l | sudo tee /root/scripts/crontab.bak > /dev/null 2>&1 \ && rm /home/akanealw/scripts/debian-essentials.sh > /dev/null 2>&1 \ && rsync -azvP /home/akanealw/scripts/ akanealw@fileserver:/home/akanealw/gitrepos/fileserver/files/bashscripts/proxyserver/akanealw/ \ diff --git a/files/bashscripts/fileserver/akanealw/test.sh b/files/bashscripts/fileserver/akanealw/test.sh deleted file mode 100755 index fefd678..0000000 --- a/files/bashscripts/fileserver/akanealw/test.sh +++ /dev/null @@ -1,6 +0,0 @@ - # dockerserver - ssh dockerserver "crontab -l | tee /home/akanealw/scripts/crontab.bak \ - && sudo crontab -l | sudo tee /root/scripts/crontab.bak \ - && rm /home/akanealw/scripts/debian-essentials.sh > /dev/null 2>&1 \ - && rsync -azvPH /home/akanealw/scripts/ akanealw@fileserver:/home/akanealw/gitrepos/fileserver/files/bashscripts/dockerserver/akanealw/ \ - && sudo rsync -azvP /root/scripts/ akanealw@fileserver:/home/akanealw/gitrepos/fileserver/files/bashscripts/dockerserver/root/" diff --git a/files/bashscripts/proxyserver/akanealw/crontab.bak b/files/bashscripts/proxyserver/akanealw/crontab.bak index 7cd32e5..0332b52 100644 --- a/files/bashscripts/proxyserver/akanealw/crontab.bak +++ b/files/bashscripts/proxyserver/akanealw/crontab.bak @@ -23,3 +23,4 @@ # m h dom mon dow command 10 * * * * /home/akanealw/scripts/backup-bookmarks.sh 0 16 * * * /home/akanealw/scripts/ping-before-copy-backups-to-truenas.sh +0 11 * * * /home/akanealw/scripts/olivetin/restart-gluetun-and-services.sh diff --git a/files/bashscripts/proxyserver/root/crontab.bak b/files/bashscripts/proxyserver/root/crontab.bak index e6e9bd3..d1c5aa5 100644 --- a/files/bashscripts/proxyserver/root/crontab.bak +++ b/files/bashscripts/proxyserver/root/crontab.bak @@ -21,4 +21,3 @@ # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command -#0 15 * * * /root/scripts/clean-plex-photo-cache.sh