On Fri, 2002-04-12 at 13:58, Devon Harding - GTHLA wrote:
> I added '> /dev/null 2>&1)' to the end of my cron job and it still output to
> /var/log/messages with:
> 
> Apr 11 10:45:01 glamon CROND[24835]: (root) CMD (/usr/local/bin/php
> /var/www/html/cacti/cmd.php > /dev/null 2>&1)
> 
> What can I do to stop this?


<WAG> 
take a look in /etc/syslog.conf and see if there is a cron entry in
there.  
</WAG>

on my 6.2 boxes there is no entry but all this stuff gets put in
/var/log/cron

on my 7.2 laptop there is this in /etc/syslog/conf

# Log cron stuff
cron.*                                                  /var/log/cron


The redirection you did will keep cron from sending you mail with the
output of the job since there is none ( It all is going to /dev/null)

Bret




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to