Professional Web Applications Themes

Macaroni and System Update - Mac Applications & Software

System Update is another one of those Mac tasks that runs daily, but only at the same time as it last ran, and this relies on the Mac being 'on' at that time. Seems like a task suiable for being scheduled by the Macaroni utility. Does anyone know how to configure Macaroni to run the System Update program? -- Stephen Finlay On the web http://users.bigpond.net.au/PiquetStockade...

  1. #1

    Default Macaroni and System Update

    System Update is another one of those Mac tasks that runs daily, but
    only at the same time as it last ran, and this relies on the Mac being
    'on' at that time.
    Seems like a task suiable for being scheduled by the Macaroni utility.

    Does anyone know how to configure Macaroni to run the System Update
    program?

    --
    Stephen Finlay
    On the web http://users.bigpond.net.au/PiquetStockade
    Stephen Guest

  2. #2

    Default Re: Macaroni and System Update

    In article <130920031711049761%net.au>, Stephen Finlay
    <net.au> wrote:
     

    FWIW, I would never let System Update run automatically. Every so often
    Apple releases an update that has problems and is pulled and reposted a
    few days later. I generally wait a few days before installing any
    updates, just to play safe. Let someone else have a ed up system.
    Phyllis Guest

  3. #3

    Default Re: Macaroni and System Update

    Phyllis Evans <mac.com> wrote:
     

    Also, I like to be able to pick and choose to skip over items that
    aren't needed by that user. For example, someone who does not own an
    iPod doesn't need to bother with those updates.

    --
    Mike Rosenberg

    <http://www.macconsult.com> Macintosh consulting services for NE Florida
    <http://bogart-tribute.net> Tribute to Humphrey Bogart
    Mike Guest

  4. #4

    Default Re: Macaroni and System Update

    In article <1g17ybg.1pxvnap1q6rw5cN%invalid>,
    invalid (Mike Rosenberg) wrote:
     
    >
    > Also, I like to be able to pick and choose to skip over items that
    > aren't needed by that user. For example, someone who does not own an
    > iPod doesn't need to bother with those updates.[/ref]

    But that has nothing to do with whether System Update runs automatically
    or not; you still get to choose which, if any, updates you will apply.

    --
    Tom Stiller

    PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
    7BDA 71ED 6496 99C0 C7CF
    Tom Guest

  5. #5

    Default Re: Macaroni and System Update

    In article <130920031711049761%net.au>,
    Stephen Finlay <net.au> wrote:
     

    The real question is, how do you get Software Update to run without
    first running System Preferences and then "Check Now" button. There's
    an application at /System/Library/CoreServices/Software\ Update.app, but
    it doesn't do anything unless System Preferences is already running.
    And if System Preferences _is_ running, all it does is make the update
    pref pane appear-- you still need to click "Check Now".

    There's a command-line version at /usr/sbin/softwareupdate, but it
    doesn't automatically install things. Here's a not-fully-tested Perl
    script that should do it:

    ------------------------------------------------------
    #!/usr/bin/perl -w

    use strict;

    open (LIST, "/usr/sbin/softwareupdate |") or die;

    my updates;
    while (<LIST>) {
    if (/^\s+- (\S+)/) {
    push updates, $1;
    }
    }
    close LIST;
    print "Found these updates:\n";
    for (updates) {
    print "\t$_\n";
    }
    my $update;
    foreach $update (updates) {
    print "Installing $update...\n";
    system("/usr/sbin/softwareupdate", "$update");
    }
    ------------------------------------------------------

    I'll repeat that I haven't tried this myself yet, because there are some
    updates I don't want to get yet. I tested all of it except the
    "system(...)" line, though, and I'm prety sure of that.

    This could be scheduled in Macaroni like any other script. Just be
    aware that it'll grab any updates and install them automatically,
    without requesting permission from you.

    --
    Tom "Tom" Harrington
    Macaroni, Automated System Maintenance for Mac OS X.
    Version 1.4: Best cleanup yet, gets files other tools miss.
    See http://www.atomicbird.com/
    Tom Guest

Similar Threads

  1. Replies: 4
    Last Post: February 24th, 12:12 AM
  2. InDesignCS Update 3.01 crashed system when printing
    By karen_harris@adobeforums.com in forum Adobe Indesign Windows
    Replies: 4
    Last Post: June 9th, 09:00 PM
  3. update statistics slowing system
    By Glen Johnson in forum Informix
    Replies: 5
    Last Post: November 13th, 10:30 PM
  4. how to update system time
    By pil blaster in forum Sun Solaris
    Replies: 5
    Last Post: July 29th, 02:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139