F-Prot Update Script Available

Jon Carnes jonc at haht.com
Thu Jun 13 16:17:52 IST 2002


"ncftp" automagically checks to see if the files are different.  If they are
the same, then it does not download them.  Of course the rest of the script
chugs merrily along...
----- Original Message -----
From: "Ray Healy (Data Net Services)" <ray at MATRIX-DATANET.CO.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Thursday, June 13, 2002 10:50 AM
Subject: Re: F-Prot Update Script Available


> Dear Rishi
>
> Hope do not mind me asking but with your new update script, I assume it
> checks every day but does it only download if the definitions at F-Prot
are
> newer than whats on your server - like the other script does from RAQFAQ
> (but that always comes up with /etc/cron.daily/AVupdate.sh: : Ambiguous
> redirect but it does work)
>
> Thanks for your help
>
> Ray Healy
> ----- Original Message -----
> From: "Rishi Gangoly" <rishi at THEARGONCOMPANY.COM>
> To: <MAILSCANNER at JISCMAIL.AC.UK>
> Sent: Thursday, June 13, 2002 3:20 PM
> Subject: Re: F-Prot Update Script Available
>
>
> > I somehow love my update script.
> >
> > /usr/local/f-prot/update
> >
> > ---------
> > #!/bin/bash
> >
> > cd /usr/local/f-prot
> > ncftpget -F ftp://ftp.f-prot.com/pub/fp-def.zip
> > ncftpget -F ftp://ftp.f-prot.com/pub/macrdef2.zip
> > ncftpget -F ftp://ftp.f-prot.com/pub/sign2.zip
> > unzip -o fp-def.zip
> > unzip -o macrdef2.zip
> > unzip -o sign2.zip
> >
> > ---------
> >
> > and then add this line in your crontab
> >
> > ---------
> > 22 * * * * /usr/local/f-prot/update > /dev/null 2> /dev/null
> >
> > ---------
> >
> > It works. ;-)
> >
> > Regards
> >
> > Rishi
> >
> > ----- Original Message -----
> > From: "Lewis Bergman" <lbergman at abi.tconline.net>
> > To: <MAILSCANNER at JISCMAIL.AC.UK>
> > Sent: Thursday, June 13, 2002 1:53 AM
> > Subject: Re: F-Prot Update Script Available
> >
> >
> > > The hint about bash2 was it. I changed it to #!/bin/bash2 and it works
> > fine
> > > now.
> > > --
> > > Lewis Bergman
> > > Texas Communications
> > > 4309 Maple St.
> > > Abilene, TX 79602-8044
> > > 915-695-6962 ext 115
> > >
> >
> >



More information about the MailScanner mailing list