Path: utzoo!attcan!uunet!husc6!rice!sun-spots-request From: erickson@glacier.ics.uci.edu (Gary Scott Erickson) Newsgroups: comp.sys.sun Subject: strange cron behavior Message-ID: <9713.598909064@glacier.ics.uci.edu> Date: 4 Jan 89 00:36:37 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 37 Approved: Sun-Spots@rice.edu Original-Date: Fri, 23 Dec 88 11:37:44 -0800 X-Sun-Spots-Digest: Volume 7, Issue 86, message 6 of 12 Machine: Sun 4/260 OS: 4.0 Problem: cron doesn't give the name of program executed when mailing error messages. I've got an entry in /var/spool/cron/crontabs/root that looks like: 30 11 * * * /usr/local/etc/testerror /usr/local/etc/testerror just echos "this is an error message" When cron mail's the output to me, I get: Your "cron" job produced the following output: this is an error message when I should have gotten a message that looks like: Your "cron" job /usr/local/etc/testerror produced the following output: this is an error message (at least this is the way our 386i mails output). Has anyone else had this problem? If so, what was the fix? Gary Erickson University of California Irvine | (714) 856-4222 Information & Computer Science Dept. | erickson@ics.uci.edu (Internet) Support Group | ucbvax!ucivax!erickson (UUCP) | saericks@uci (Bitnet)