updated scripts and crontabs

This commit is contained in:
2023-08-24 18:52:53 -05:00
parent 67f7cc7ce7
commit 2f732462ff
4 changed files with 2 additions and 8 deletions

View File

@@ -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/ \

View File

@@ -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/"

View File

@@ -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

View File

@@ -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