On Tue, 03 Aug 2004 at 8:32:54 +0200, Graham Dodd wrote: > > I have a cron job that updates the database a few times a day > > 17 6,10,14,18,23 * * * root /usr/local/bin/freshclam > --config-file=/etc/freshclam.conf --daemon-notify=/etc/clamav.conf > > The problem I have is that when cron mails me about the job I get a nice > email showing the transfer of data with the spinning -\|/- > > If I turn --quiet on then I get no notification that freshclam updated the > database. > > I just want to know that Freshclam ran and made an update >
You can use option "--on-update-execute=COMMAND" or a corresponding entry in freshclam.conf, e.g.: OnUpdateExecute /path/to/fresh.sh where fresh.sh is a shell script which does needed things. -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros. [EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users