Mike Fish wrote:

When I enter
freshclam --on-update-execute='echo DONE'
the database updates but the command doesn't execute. I've tried lots of variations but no joy.

I think "on update" means if "freshclam successfully downloads an update"
Which means it won't execute the command if your database is already up to date.


========================================================
[EMAIL PROTECTED] /]# freshclam --on-update-execute="echo DONE"
ClamAV update process started at Tue Mar 16 20:03:47 2004
Reading CVD header (main.cvd): OK
main.cvd is up to date (version: 21, sigs: 20094, f-level: 1, builder: tkojm)
Reading CVD header (daily.cvd): OK
daily.cvd is up to date (version: 187, sigs: 389, f-level: 1, builder: diego)


[EMAIL PROTECTED] /]# rm /usr/local/share/clamav/*.cvd
[EMAIL PROTECTED] /]# freshclam --on-update-execute="echo DONE"
ClamAV update process started at Tue Mar 16 20:04:30 2004
Reading CVD header (main.cvd): OK
Downloading main.cvd [*]
main.cvd updated (version: 21, sigs: 20094, f-level: 1, builder: tkojm)
Reading CVD header (daily.cvd): OK
Downloading daily.cvd [*]
daily.cvd updated (version: 187, sigs: 389, f-level: 1, builder: diego)
Database updated (20483 signatures) from clamav.antispam.or.id (202.134.0.71).
Clamd successfully notified about the update.
DONE


[EMAIL PROTECTED] /]# freshclam -V
freshclam / ClamAV version devel-20040316

=====================================================


Regards,


Fajar


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to