Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the '10.5: Run a Time Machine backup then shut down' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Run a Time Machine backup then shut down
Authored by: lukec on Fri, Jun 27 2008 at 8:52AM PDT
It's a good point to quit open programs before running this script. Open applications could prevent data from being backed up and could stall the shutdown.

You could accomplish that and have the script run using a logout script:
http://www.bombich.com/mactips/loginhooks.html

When you call shutdown, your user would log out, which would quit the open applications and call the script and then shutdown. (remove shutdown from the script)

This might not work if backupd-helper is dependent on having a user log in, but as the launchctl files are in the system area, the services start independent of a user login and so that shouldn't be an issue.

Luke

[ # ]