touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #27790
[Bug 790173] Re: Cron doesn't send output properly
Fix
** Changed in: cron (Ubuntu)
Status: New => Fix Released
** Package changed: cron (Ubuntu) => speech-dispatcher (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/790173
Title:
Cron doesn't send output properly
Status in “speech-dispatcher” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: cron
I have a bash script checking for new versions of Vim (in Bram
Moolenaar's Mercurial repository) that's run by cron. The script saves
its output into a log file and, if there is something interesting to
say, at the and does 'cat $LOG_FILE'. The problem is that when run by
cron on my newly installed Ubuntu 10.04.2 I don't get the output in
mail but only 'expr: syntax error' line instead.
Obviously I thought there was some error in the script at first, but
after trying and checking I've found none. Besides, the script runs OK
from command line and the same script runs OK from cron on Ubuntu
8.04. And I've also found (via checking the script's log whilst it was
running) that it actually runs OK even here on Ubuntu 10.04.2, only I
don't get the output. Therefore I'm not even sure whether this bug
belongs to Cron or Postfix.
I've also tried to run by cron different parts of the script
separately, they worked OK and output in mail was OK too.
I think this might perhaps be related with this discussion I've
googled: http://www.howtoforge.com/forums/showthread.php?t=45202
Thx.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/speech-dispatcher/+bug/790173/+subscriptions