← Back to team overview

desktop-packages team mailing list archive

[Bug 790173] [NEW] Cron doesn't send output properly

 

You have been subscribed to a public bug:

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.

** Affects: speech-dispatcher (Ubuntu)
     Importance: Undecided
         Status: Fix Released

-- 
Cron doesn't send output properly
https://bugs.launchpad.net/bugs/790173
You received this bug notification because you are a member of Desktop Packages, which is subscribed to speech-dispatcher in Ubuntu.