Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ber on August 29, 2010, 12:21:24 AM

Title: How to remove multiple cron/updates/antivirus scan results?
Post by: ber on August 29, 2010, 12:21:24 AM
Hi I have a SME 7.5 system and have had this problem for a while and finally want to sort it out and tidy up bits and pieces on the system.

Every Sunday I am advised by the system of virus scan/cron results or reports etc...

Problem is that I get three or four of each report sent to me by email.

Can anyone advise why and how to resolve?

Also I tried to uninstall hylafax but still gives cron reports every week- is this problem related?

here is copy of the report:

/etc/cron.weekly/hylafax:

/etc/cron.weekly/hylafax: line 11: /usr/sbin/faxcron: No such file or directory Null message body; hope that's ok


The reports are accurate by do not need to multiple copies?? maybe a configuration issue??
Title: Re: How to remove multiple cron/updates/antivirus scan results?
Post by: janet on August 30, 2010, 02:51:06 AM
ber

Do you use fetchmail to collect mail ?
Mail retrieval may not be marking the messages as downloaded, thus the multiple copies.
There could be other reasons.


Quote
/etc/cron.weekly/hylafax
You need to remove the cron job and restart cron
/etc/init.d/crond restart
Title: Re: How to remove multiple cron/updates/antivirus scan results?
Post by: ber on August 30, 2010, 03:06:54 AM
Thank You Mary.
Title: Re: How to remove multiple cron/updates/antivirus scan results?
Post by: CharlieBrady on August 30, 2010, 04:04:41 AM
You need to remove the cron job and restart cron
/etc/init.d/crond restart

It's not necessary to restart crond after modifying /etc/crontab or /etc/cron.d/

BTW, discussion of hylafax is off-topic for this forum - it's not included in the SME server distribution.