Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 whoever 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 Jun 27, '08 08:52:03AM
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:

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.


[ # ]