On Thu, 27 Apr 2006 20:06:24 -0500, Chris wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I've got a very simple perl script that I'm trying to run as a
> cronjob. 
> 
> #!/usr/bin/perl
> 
> use LWP::Simple qw(mirror $ua);
> 
> $| = 1;
> 
> $ua->timeout(60);
> my $url = 'http://www.sanesecurity.com/clamav/phish.ndb.gz';
> my $file = 'phish.ndb.gz';
> my $dbfile = 'phish.ndbn';

Does clamav want phish.ndb in /usr/local/bin? If not, I would
think you'd first want to switch to the directory:

chdir "/wherever/clamav/wants/it";

I don't know if this has anything to do with your problem. Just
a question.

Miark
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to