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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532999

Title:
  cron does not read $PATH or Gnome Schedule doco is insufficient

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-schedule/+bug/1532999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to