On Fri, Feb 04, 2000 at 10:40:06AM -0600, hawk@hawkins.cba.uni.edu wrote: [ snip ] : That is, it's not executingthe command in the crontab, but a differetn one : --note thatthe >> becomes a 2>>& : : How do I fix this? What I need here is for cron to *not* send any : mail at all--this account exists to sort and process mail, and : extra mail makes the job harder. In your original post you were using /etc/crontab - make sure the entry is removed from that file! Obviously there's an incorrect crontab somewhere :) I think what you want is a line like this: 1,11,21,31,41,51 * * * * /usr/local/bin/updatehw >> $HOME/tmp.quizlog 2>&1 I didn't test this, but it should append STDOUT to the file, and duplicate STDERR onto STDOUT. -- Nathan Norman Network Magician, Eclectic Engineer GPG Key ID 1024D/51F98BB7 Key fingerprint = C5F4 A147 416C E0BF AB73 8BEF F0C8 255C 51F9 8BB7
Attachment:
pgphbIArFq_6u.pgp
Description: PGP signature