Skip to main content
Question

Software Update at re-occurring period

  • July 4, 2017
  • 1 reply
  • 4 views

Forum|alt.badge.img+8

Hi All

I'm hoping you Guru's can assist and provide me with advice!

I have a policy to point our mac's to our internal Apple software server, but I would like to setup the updates to push/install to the macs on a specific date every month only.

Do anyone have any suggestions?

1 reply

wakco11
Forum|alt.badge.img+9
  • Valued Contributor
  • July 5, 2017

Kia ora,

The easiest might be to set up a run once policy that executes the following command to schedule the running of the softwareupdate command.

/usr/local/bin/jamf scheduleTask -command "/usr/local/bin/jamf runSoftwareUpdate -randomDelaySeconds 600" -name "ScheduledUpdate" -day 5 -hour 11 -minute 5

This will setup a launchd plist in /Library/LaunchDaemons that will cause the computer to run softwareupdate as scheduled. In the above example, on the 5th day of the month within 10 minutes of 11:05am (or within 10 minute of the next time to computer starts/wakes up). The 10 minute window is so the software update server won't get hammered.