Cron echos each command

From: Robert (nospam_robert_schmidli_at_hotmail.com)
Date: 07/16/03


Date: Wed, 16 Jul 2003 19:57:59 +1000

I have vixie-cron installed on my Slackware 9.0 system. I got rid of dcron
(the default slackware cron) because it did not implement cron.deny etc. I
installed vixie-cron from red hat 9.0 source and compiled it. Everything is
fine except whenever a cron job runs it mails me the command names - eg:

/etc/cron.daily/chkroot:

/etc/cron.daily/logrotate:

/etc/cron.daily/logwatch:

/etc/cron.daily/quota:

/etc/cron.daily/settime:

/etc/cron.daily/slocate:

This is a real nuisance if you run cron.hourly - I get send these messages
every hour!

One solution is to send the output to /dev/null (eg,. below) but then none
of the output is sent to me (ie the output of the command - such as error
messages).

1 * * * * root /usr/bin/nice -n 19 /usr/bin/run-parts
/etc/cron.hourly > /dev/null

I have had cron running on other distros without giving this problem.

Any clues?



Relevant Pages

  • Re: Suse cron vs. Slackware cron
    ... behaves like the Slackware cron. ... Vixie cron. ...
    (comp.os.linux.misc)
  • Re: [kde-linux] Cron emails dont respect my MAILTO
    ... indicate the mail was received from cron and delivered? ... It was sent from root to me at my local domain address. ... sendmail command must be installed without set-uid root file permissions ... mailing to one location and other commands mailing to about location (or using ...
    (KDE)
  • Re: Cron Job
    ... If you mean the computer itself, put that command ... The standard 'cron' runs jobs at a specific time/date. ... Init or @reboot run jobs when ... Sunday night at 02:00) then copy the script and cron entry. ...
    (comp.os.linux.misc)
  • Re: Cygwin problem with cron and networked drives
    ... command line it is recognized. ... Is the cron job running on a linux system or an MS Windows system? ... versus the user running the cron job. ...
    (comp.os.linux.networking)
  • Re: Nmon scheduling question
    ... command ran first then in the script is the ps and kill command so it ... Vince this is a great script. ... Cron Job with pid: 135238 Failed ...
    (AIX-L)