On Mon, 24 Apr 2006, Steve Basford wrote:

Could anyone come up with some good wget/curl scripts, with wget, I guess it's using the -N option to only download changes and only download hourly (eg. 15:00, 16:00, 17:15, 18:15) etc.

I am running this script once a day, modified appropriately for the path and clam user.

get_sanesecurity_phish:

#!/bin/sh
cd /path/to/clam/files
wget --timestamping --quiet --no-directories -N 
http://www.sanesecurity.com/clamav/phish.ndb
chown clam_user.clam_user phish.ndb

Scheduled daily with cron during off hours:

43 4 * * * /path/to/get_sanesecurity_phish

   -- Michael
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to