Ajouter 'cron/freshclam'
This commit is contained in:
parent
921bee6617
commit
9924bddc69
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
# make sure the process is stopped
|
||||
/etc/init.d/clamav-freshclam stop >> /var/log/resul_freshclam.txt
|
||||
# check if database is outdated
|
||||
/usr/bin/freshclam -v >> /var/log/resul_freshclam.txt
|
||||
# update virus database
|
||||
/etc/init.d/clamav-freshclam start >> /var/log/resul_freshclam.txt
|
Loading…
Reference in New Issue