Project Summary

  Analyzed 9 days ago based on code collected 9 days ago.

clamav-cronSummary:This is a simple Bash script for those who want to schedule the following tasks via cron:

update the ClamAV virus database (freshclam); perform personal system scan (clamscan); send a brief report via e-mail; without any knowledge about ClamAV configuration files (such as clamd.conf or freshclam.conf) and without running the ClamAV daemon. You just have to configure the e-mail address(es) that will receive the report.

Dependencies:To succesfilly run clamav-cron the following dependencies needs to be satisfied:

the ClamAV engine (look at ClamAV download center); a mail server like Sendmail;

How to use:Download clamav-cron somewhere like /usr/local/bin/ and give it execute permission: wget http://clamav-cron.googlecode.com/files/clamav-cron-0.6 -O /usr/local/bin/clamav-cron
chmod 755 /usr/local/bin/clamav-cronSimply open the clamav-cron script with your editor and edit the "User configuration" section following the instructions; schedule the clamav-cron script via Cron in the preferred way. For example, you can install the clamav-cron in the crontab typing crontab -e from the user shell and entering a line like this: 45 23 * * 6 /usr/local/bin/clamav-cron /homeCron will run clamav-cron every Saturday at 23:45 (11:45 pm) to recursevly scan the whole /home tree. At the end of task it will send a notification e-mail to the users specified at point 2. For more crontab option type man 5 crontab.

Share

In a Nutshell, clamav-cron...

 

Activity

30 Day Summary Apr 16 2013 — May 16 2013

12 Month Summary May 16 2012 — May 16 2013

Community

Ratings

Be the first to rate this project
 
Click to add your rating
 
Review this Project!
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.