Ok. It would not work with just 'bup' since cron does not read $PATH.
Also, tail -f /var/mail/humphrey does not clear the previous log so you
would get the same error every time in your log file, even though the
command works correctly. A better way is:
/usr/local/bin/bup > /path/to/logfile 2>&1
Could you please try that, and see if it works correctly now.
Indeed, using '&&' results in the old log (from the mail) only being copied over
if the first command succeeds.
Ok. It would not work with just 'bup' since cron does not read $PATH.
Also, tail -f /var/mail/humphrey does not clear the previous log so you
would get the same error every time in your log file, even though the
command works correctly. A better way is:
/usr/ local/bin/ bup > /path/to/logfile 2>&1
Could you please try that, and see if it works correctly now.
Indeed, using '&&' results in the old log (from the mail) only being copied over
if the first command succeeds.