Mac Update Script

jwojda
Valued Contributor II

I came across this script online...
http://lightsandshapes.com/tutorials/mac/macscript

It seems to work fairly well, but every user that runs it through casper
gets a script failed ­ even if it runs properly.

Maybe someone who has some uber script-fu can tweak it a bit (there's also
some errors on 'results.txt' that don't seem to cause problems with the
process but get logged as errors...)

5 REPLIES 5

Matt
Valued Contributor

Is that for installing software updates?

I just run a script that runs "softwareupdate -i –a" and a script that prompts the user to restart now or at whenever they can.

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

jwojda
Valued Contributor II

Well, I guess that's what I want, a script that runs SU's then if one is
found to require a reboot, it will prompt the user...

I would <prefer> a script that allows the user to delay installing for X
days then force, but just reboot later is good enough for now..

Matt
Valued Contributor

Do you have your machines automatically shutdown each night and start up?

For all of our non broadcast machines I simply push the –I –a script and than let the computer handle the rest when they shutdown at 12:00AM everynight and restart at 7:00AM. More than one way to skin a cat in this instance. What works best for you?

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

jwojda
Valued Contributor II

We're a corporation with mostly laptops that users take home...no real way
to schedule them that way.

rockpapergoat
Contributor III

check out munki to manage stuff like this. it may duplicate some of what you use casper to do now, but it's more powerful, in my opinion.

http://code.google.com/p/munki/