Check for OS X Updates Automatically

Published by Christian Mohn · Read in about 1 min (154 words)

Yeah, I admit it. I want OS X Mavericks, and I want it now.

Unfortunately, it´s not available yet from Software Update. So instead of manually checking every 5 minutes or so, I decided to create a small bash script that does it for me.

It´s very, very simple, but I think it does the job:

First off, pop into Terminal and get root access:

h0bbel::h0bair { ~ }-> sudo su -
Then create a small bash script, I named mine update.sh, that contains the following:

while true
do
softwareupdate -l
sleep 60
done
Change it to be executable by running
chmod +x update.sh
Then run the script, to have softwareupdate run over and over again (60 seconds after it completes) until you break it with ctrl-c

h0bair:~ root# ./update.sh
Software Update Tool
Copyright 2002-2010 Apple

No new software available.
At least I now get warning once it´s available. I can has Mavericks nao?

Post last updated on January 2, 2024: Add author

About

vNinja.net is the online hub of Christian Mohn and Stine Elise Larsen.

The site primarily focuses on IT architecture and data center technologies, with a strong emphasis on virtualization and related topics.
While the main content revolves around these areas, you'll also find a range of other subjects covered from time to time, reflecting the interests of authors.

Sponsors