Disable cron for now

This commit is contained in:
iFargle 2024-01-17 13:34:16 +09:00
parent 152298a03d
commit 5f974131a2
2 changed files with 5 additions and 5 deletions

View file

@ -108,13 +108,13 @@ rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[A-E]* /mnt/$drive
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[L-M]* /mnt/$drive2/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[F-M]* /mnt/$drive2/TV_Shows/
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[L-R]* /mnt/$drive2/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[F-R]* /mnt/$drive2/TV_Shows/
echo -e "================================================================================"
echo -e "======= Time: `date`"
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/
echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[S-Z]* /mnt/$drive3/TV_Shows/"
rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[S-Z]* /mnt/$drive3/TV_Shows/
echo -e "================================================================================"
echo -e "======= Time: `date`"

View file

@ -3,7 +3,7 @@
enable = true;
systemCronJobs = [
# Backups from nuc-docker01 - See "backup-script.nix"
''0 9 * * * root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log''
# ''0 9 * * * root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 19 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 1 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log''
];