Updating error symantec antivirus mac
20-Aug-2020 03:29
Of course if it already existed, it would simple delete any schedule and reset it to our preferred settings. /bin/sh # This script will set the Symantec Live Update schedule to # download and install the latest virus definitions available from Symantec.# # This script expects Symantec Live Update to be installed at: # # /Applications/Symantec Solutions/Symantec Scheduler.app/Contents/Resources/symsched # ######## # # LOGGING FUNCTION # #################################################################################################### log File="/private/var/log/Your Company Name-SEPupdate Sched.log" log () #################################################################################################### # # SCRIPT CONTENTS # #################################################################################################### if [ -f "/Applications/Symantec Solutions/Live Update.app/Contents/Mac OS/Live Update" ]; then #################################################################################################### # DELETE ALL EXISTING SYMSCHED TASKS and WRITE TO LOG #################################################################################################### symsched -d all log "Deleted all existed symsched tasks." #################################################################################################### # CREATE SCHEDULEDS #################################################################################################### symsched Live Update "All Update monthy01" 1 1 -monthly 01 "All Products" -quiet symsched Live Update "All Update monthy15" 1 1 -monthly 15 "All Products" -quiet symsched Live Update "Mon VDefs Update" 1 1 -weekly 1 "Virus Definitions" -quiet symsched Live Update "Tue VDefs Update" 1 1 -weekly 2 "Virus Definitions" -quiet symsched Live Update "Wed VDefs Update" 1 1 -weekly 3 "Virus Definitions" -quiet symsched Live Update "Thu VDefs Update" 1 1 -weekly 4 "Virus Definitions" -quiet symsched Live Update "Fri VDefs Update" 1 1 -weekly 5 "Virus Definitions" -quiet log "Your Company Name Symantec Schedule have been created." else log "Error: Symantec Live Update was not found on this machine." exit 1 fi exit 0#!For the Scope, I have it set to a smart group that looks to see if SEP is installed.This works great, for when a mac is finished imaging and you want SEP to be automatically installed.Then I created a of the private folder and its contents using Composer. /bin/shcd /private/tmp/SEP12.1.2/usr/sbin/installer -pkg "Symantec Endpoint Protection.pkg" -target /if [ $?
If you find an infection that you are unsure about, contact the Do IT Help Desk at (608)264-HELP for assistance.
So I used JAMF to set the schedule and to routinely force an update.