Shirt Pocket Discussions

Shirt Pocket Discussions (https://www.shirt-pocket.com/forums/index.php)
-   General (https://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Automated Safe Mode boot and backup routine (https://www.shirt-pocket.com/forums/showthread.php?t=4902)

jrlamar 01-06-2009 11:27 AM

Automated Safe Mode boot and backup routine
 
OK, here's the situation: I'd like to run SuperDuper! on an unattended, scheduled Smart Update copy in the middle of the night. And since I have a bunch of startup/login items -- Microsoft AU and Database Daemons, some Palm syncing utilities, etc. -- I know it would be best practice to boot in Safe Mode. But I can't be here to do a conventional safe boot (physically holding down the Shift key during startup).

So what would be the best (but not necessarily easiest) solution to deal with this from a command-line scripting standpoint? Execute a shell script before SD runs that tells each app to quit individually? Or script something out for the Mac OS that could automate a Safe Mode boot?

By the way, I would always go right to a system shutdown as soon as SD finished its job, so I assume I wouldn't need to run a shell script after the copying completes -- and that everything would just start back up as normal on the next boot.

Thanks!

Jason

dnanian 01-06-2009 11:34 AM

Actually, not necessary. You can just run a little AppleScript to quit the few apps you need to (mostly Entourage, if that's running). e.g.:

tell application "Microsoft Entourage" to quit


All times are GMT -4. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.