Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: Any way to ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 19 of 26 Topic 1546 of 1668
Post > Topic >>

Re: Any way to get Software Update to run in the background at a specified time of the day?

by Sander Tekelenburg <user@[EMAIL PROTECTED] > Dec 8, 2007 at 07:56 AM

In article <1i8tckk.143rm331tva6cbN%lists@[EMAIL PROTECTED]
>,
 lists@[EMAIL PROTECTED]
 (Jamie Kahn Genet) wrote:

> Is there any way to get Software Update to run in the background at a
> specified time of the day?

Yes:
- read man softwareupdate
- decide with what arguments you want it to run ("$ softwareupdate -l" 
for instance lists all available updates,"$ softwareupdate -i -a" 
downloads and install all available updates, etc.)
- call that with do shell script (or through any other means you like)
- use cron or something like it (iCal) to trigger the script at whatever 
time is convenient for you

You'll probably need to use sudo (or "with administrator priviliges" if 
you trigger through AppleScript) if you want updates to be installed 
automatically.

[Note, I'm basing this on Panther & Tiger. But it seems likely to me 
that softwareupdate is still around in Leopard.]

-- 
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers sup****t Macs!"
 




 26 Posts in Topic:
Any way to get Software Update to run in the background at a spe
lists@[EMAIL PROTECTED]   2007-12-08 17:35:09 
Re: Any way to get Software Update to run in the background at a
Warchild <bob@[EMAIL P  2007-12-07 22:15:52 
Re: Any way to get Software Update to run in the background at a
Don Bruder <dakidd@[EM  2007-12-07 21:37:12 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-08 18:51:40 
Re: Any way to get Software Update to run in the background at a
Jolly Roger <jollyroge  2007-12-08 11:40:27 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 09:06:14 
Re: Any way to get Software Update to run in the background at a
russotto@[EMAIL PROTECTED  2007-12-08 19:11:38 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 16:09:23 
Re: Any way to get Software Update to run in the background at a
Jeffrey Goldberg <nobo  2007-12-09 11:04:48 
Re: Any way to get Software Update to run in the background at a
Barry Margolin <barmar  2007-12-08 11:45:31 
Re: Any way to get Software Update to run in the background at a
"G.T." <getn  2007-12-08 10:40:12 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 09:06:12 
Re: Any way to get Software Update to run in the background at a
Barry Margolin <barmar  2007-12-09 17:56:11 
Re: Any way to get Software Update to run in the background at a
Don Bruder <dakidd@[EM  2007-12-08 15:47:36 
Re: Any way to get Software Update to run in the background at a
mikePOST@[EMAIL PROTECTED  2007-12-08 19:03:57 
Re: Any way to get Software Update to run in the background at a
dempson@[EMAIL PROTECTED]  2007-12-09 13:29:53 
Re: Any way to get Software Update to run in the background at a
Wes Groleau <groleau+n  2007-12-09 03:08:45 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-08 18:41:59 
Re: Any way to get Software Update to run in the background at a
Sander Tekelenburg <us  2007-12-08 07:56:27 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-08 21:25:35 
Re: Any way to get Software Update to run in the background at a
nospam@[EMAIL PROTECTED]   2007-12-08 00:51:45 
Re: Any way to get Software Update to run in the background at a
Sander Tekelenburg <us  2007-12-08 15:46:01 
Re: Any way to get Software Update to run in the background at a
Jerry Kindall <jerryki  2007-12-08 08:02:47 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-09 09:06:13 
Re: Any way to get Software Update to run in the background at a
Jerry Kindall <jerryki  2007-12-10 09:03:37 
Re: Any way to get Software Update to run in the background at a
lists@[EMAIL PROTECTED]   2007-12-11 06:16:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:13:37 CDT 2008.