Quote:
Originally Posted by surekag
Feb 12 07:00:02 h2112419 CRON[6519]: (CRON) info (No MTA installed, discarding output)
|
This message is not relevant, it only means that you don't have any mailer installed and that cron tries to send the result by email.
You can discard if by installing postfix or disable email notification in crond. (just add MAILTO="" at the begining of your crontab).
Quote:
Originally Posted by surekag
And also I didnt schedule anything in /etc/cron.hourly, But in the log file it is displaying as
Feb 12 07:17:01 h2112419 CRON[6583]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)[/CODE]
for every hour.how to remove this.
|
This is a normal behavior. If you want to disable the hourly crontab, just comment out the line in /etc/crontab :
Code:
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
About you faulty cron job, I suggest that you redirect the output to a temporary log so as to see if it's executed and if it crashed :
Code:
crontab -e
00 11 * * * /path/to/script > /tmp/mylog 2>&1