OK, locally solved, but some patch is needed. Christian, thanks for the inspiration. I've tried to find the place where that 'expr...' could be, and it shows up that the problem goes like that:
- in my script the line: source /etc/profile - in /etc/profile the lines: if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i fi done unset i fi - and eventually in /etc/profile.d/speechd-user-port.sh the line: export SPEECHD_PORT=$(expr 6560 + $(getent passwd $USER | cut -f 3 -d :)) So I changed the last listed line thus: [ "$PS1" != "" ] && export SPEECHD_PORT=$(expr 6560 + $(getent passwd $USER | cut -f 3 -d :)) and everything is all right again. Conclusion: - the bug is not in the cron but in the package (I don't know which one it is) that manages the /etc/profile.d/speechd-user-port.sh script; - the script should be patched the way I described above or similarly. I am leaving the status and package of this bug report unchanged since I don't know the procedures you use here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790173 Title: Cron doesn't send output properly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs