Koozali.org: home of the SME Server

Another CRON question

Michael Roed

Another CRON question
« on: February 17, 2003, 11:41:50 AM »
I know there has been som writing on this subject but I cant seem to find the solution for it so I am asking this question again.

I have set up 3 different SME 5.6 servers in the last month and from everyone of them I get a mail like this:

*******
Cron run-parts /etc/cron.weekly
/etc/cron.weekly/makewhatis.cron:


zcat: stdout: Broken pipe

zcat: stdout: Broken pipe

zcat: stdout: Broken pipe......
*********

AND another looking like this:

********
Cron run-parts /etc/cron.daily
/etc/cron.daily/logrotate:

proftpd: no process killed
error running postrotate script
************

I found out that this isn't something I should worry about. But I really want to get rid of these messages.
So can someone please, once in for all, tell me how I kill those mails.

Thanx,
Michael.

PS. Why are they beeing gennerated????

Michael Roed

Re: Another CRON question
« Reply #1 on: February 17, 2003, 11:46:20 AM »
I forgot to add that if this require that I should edit some files directly in E-smith, I would be really glad if I got a "howto" as I am not that great with editing Linux files and moving around the Linux structure ;o)

Thanx again.

Dean Thomas

Re: Another CRON question
« Reply #2 on: February 18, 2003, 12:54:27 AM »
I am probably the last person to give advice, but I had to delete a offending cronjob that was sending mail just yesterday. Here is what I did, please check with someone who knows better though before listening to much to me :-)

crontab -l (showed me the offending cronjob)
crontab -r (removed the offending cronjob)

Hope it works out for you

Michael Roed

Re: Another CRON question
« Reply #3 on: February 20, 2003, 04:58:23 PM »
Hmmm, when I log in as root and enter "crontab -l" I get this "No crontab for root"!

Do I have to be in a particually folder or why am I getting this message?

/michael