Skip to main content
Question

Mac Update Script


ImAMacGuy
Forum|alt.badge.img+23

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

Forum|alt.badge.img+20
  • Valued Contributor
  • 732 replies
  • April 13, 2011

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


ImAMacGuy
Forum|alt.badge.img+23
  • Author
  • Esteemed Contributor
  • 1310 replies
  • April 13, 2011

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..


Forum|alt.badge.img+20
  • Valued Contributor
  • 732 replies
  • April 13, 2011

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


ImAMacGuy
Forum|alt.badge.img+23
  • Author
  • Esteemed Contributor
  • 1310 replies
  • April 13, 2011

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


Forum|alt.badge.img+13

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/


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings