updated scripts and crontabs
This commit is contained in:
@@ -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/ \
|
||||
|
||||
@@ -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/"
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user