Symantec virus definitions updating

A nightly job runs on one of our servers to curl the latest update package from Symantec, then distributes via casper syncing.A separate daily job runs on the Macs to curl that package from the internal servers and install.If not, try again with the previous days' date if [ "$Raw File Listing" == "$Desired Update" ]; then Update Found=1 curl ftp://ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus_mac/$Desired Update /Users/admin/Desktop/SEP121Updates/$Desired Update cp /Users/admin/Desktop/SEP121Updates/$Desired Update /Volumes/Casper Share/SEP121Updates/ else ## If we haven't found the update with $Curr Date, it must be for a previous date.Decrease the day by 1 to ## check again for an update file from the day prior Curr Date=$(( $Curr Date - 1 )) fi done#!

################################################################### ## Check Symantec Endpoint Protection Antivirus Definition Dates ## ## v1.1 ## ## Matt Hansen // ## ################################################################### #Set Variables $hostname = hostname daysago = (get-date). All you would have to do is take out the “#Email Notify” section, and use the rest of the script as a powershell discovery script in an SCCM compliance item.I don't want it applying to every Mac \- because some actually do stay up to date \- so that's why I care about an EA to tell me virus def dates.I wrote a blog article about it here: And these are the scripts I use to curl the latest updates and then the daily script to apply the latest update to a Mac: #! ## ###################################################### mkdir -p -m 777 /Users/isdadmin/Desktop/SEP121Updates ## Clean up the SEP121Updates folder first.Grep out the file that most ## closely resembles the desired update, then clean it up so we have just the filename File Listing=`ls /Volumes/Casper Share/SEP121Updates | grep $Desired Update` ## Compare the file curl found to the desired update filename.If not, try again with the previous days' date if [ "$File Listing" == "$Desired Update" ]; then Update Found=1 cp /Volumes/"$Casper DP"/SEP121Updates/$Desired Update /Users/Shared/ cd /Users/Shared/ unzip $Desired Update ## Install the updates installer -verbose -pkg Symantec AVDefs_-target / else ## If we haven't found the update with the current date, it must be a previous date.

Search for symantec virus definitions updating:

symantec virus definitions updating-47symantec virus definitions updating-56

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “symantec virus definitions updating”