F-Prot Update Script Available

Rishi Gangoly rishi at THEARGONCOMPANY.COM
Thu Jun 13 15:20:32 IST 2002


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