NAV updates solution?

| | Comments (1)

Seeing as though we were caught out with old definitions from Nav, despite running Liveupdate at 4am in the morning each day (which doesn't detect if there are new NON-Liveupdate downloads) I wrote the following script to get the latest updates from Symantec at 6am, 12:30pm, 4.30pm and 9.30pm. Using wget it downloads the navup8.exe file (if its newer), runs it and then copies the .xdb files to the NAV directory. Hopefully by running it several times a day the traffic is light (as it only downloads if newer) and we shouldn't be more then a few hours out of date and ahead of any virus infection is the idea. The only thing I can't work out is how not to run the .exe file if the download didn't actually happen. I guess I could log the download and search for a "file is same date" string and run the .exe on this condition.....thats next weeks project for when I'm in the office.



c:
cd\scripts\symantec
wget -N ftp://ftp.symantec.com/ public/ english_us_canada/ antivirus_definitions/ norton_antivirus/ static/ navup8.exe
navup8.exe
move *.xdb c:\progra~1\nav >>c:\scripts\symantec\log.txt

1 Comments

nav update

Categories

Pages

Powered by Movable Type 4.1

About this Entry

This page contains a single entry by published on February 27, 2004 3:48 PM.

TabBrowser Extensions for Firefox was the previous entry in this blog.

Blogroll takeover - will anyone notice? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.