From: Ian Kelling Date: Mon, 17 Apr 2017 22:54:11 +0000 (-0700) Subject: fix backup script path X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=bc0f46773ef20555f1ceb3d4675e397c430ffe18 fix backup script path --- diff --git a/machine_specific/treetowl/filesystem/etc/cron.d/treetowl b/machine_specific/treetowl/filesystem/etc/cron.d/treetowl index 24f8c2c..47b75c0 100755 --- a/machine_specific/treetowl/filesystem/etc/cron.d/treetowl +++ b/machine_specific/treetowl/filesystem/etc/cron.d/treetowl @@ -5,7 +5,7 @@ # runs every 10 minutes, every day 4 am, every sunday at 3 am # stored for 3 days, 2 months, and unlimited respectively SHELL=/bin/bash -0 4 * * * ian x=$(/usr/local/bin/logq /a/bin/small-backup/small-backup --retry daily 2M); [[ $? != 0 ]] && echo "$x" +0 4 * * * ian x=$(/usr/local/bin/logq /a/exe/small-backup --retry daily 2M); [[ $? != 0 ]] && echo "$x" 0 3 * * sun ian echo weekly backup results:; /a/bin/small-backup --retry weekly -batch -prefer ~/.mpv -silent 2>&1 | /usr/local/bin/log-once unison-mpv */5 * * * * ian /a/bin/distro-setup/dynamic-ip-update.sh 2>&1 | /usr/local/bin/log-once -15 */10 * * * * ian /a/exe/small-backup 10minutes 3D 2>&1 | /usr/local/bin/log-once small-backup-10min