Need a launchd daemon to automate the upgrade process. I've the following but for some reason it's stopped working. Also I would like it to right the results into a log file. -------------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.macports.upgrade-outdate</string> <key>ProgramArguments</key> <array> <string>/opt/local/bin/port</string> <string>-u</string> <string>upgrade</string> <string>installed</string> <string>-Rud</string> </array> <key>StartCalendarInterval</key> <dict> <key>Hour</key> <integer>0</integer> <key>Minute</key> <integer>40</integer> </dict> </dict> </plist> -------------------------- Thanks in advance
On 12/15/07, Charlse Darwin <macports.users@gmail.com> wrote:
Need a launchd daemon to automate the upgrade process. I've the following but for some reason it's stopped working. Also I would like it to right the results into a log file.
I don't know about anyone else, but unattended port upgrades may not always work as intended. A halfway measure I use is to put a "port sync && port outdated" sequence in cron and mail the results: that way I can see if anything needs doing and plan when to do it. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@gmail.com>
participants (2)
-
Charlse Darwin
-
paul beard