|
#1
|
|||
|
|||
Resume after reboot
Dave -
I schedule an SD backup every evening and get SD to shut down my iMac after it's done. When I return to my iMac in the morning there is the SD window - presumably because of Lion's 'resume' feature. Is there a way you know of that this can be turned off on a 'per app' basis or is it a question of somehow building in a short delay between quitting SD and shutting down a Mac in this scenario? Tim. |
#2
|
||||
|
||||
We already do have that delay, Tim. Perhaps use 'sleep' instead?
__________________
--Dave Nanian |
#3
|
|||
|
|||
I also run SuperDuper! when I'm done with my Mac, having SuperDuper! shutdown the Mac when it's done. Like Tim, when I start up the Mac the next day, Lion's resume would start SuperDuper!. I got around this problem by having SuperDuper! run a shell script when it's done, rather than shutdown the Mac. The script is very simple - it issues an Applescript command to Quit SuperDuper!, then issues a command to shutdown the computer in two minutes. The two minute delay is to allow SuperDuper! time to shutdown so it's not running when the system shuts down.
The script contains only these three lines: #! /bin/sh osascript -e 'tell application "SuperDuper!" to quit' shutdown -h +2 (If you don't know how to create a shell script, put those three lines in a plain text file. Then make the file executable via the Terminal command chmod +x pathtofile I have noticed that an error appears in the SuperDuper! log, related to the shutdown command. I've copied it below. Perhaps Dave can shed some light on it: | 04:31:52 PM | Info | PHASE: 3. After Successful Copy | 04:31:52 PM | Info | ...ACTION: Restoring Spotlight state on Little Bear | 04:31:52 PM | Info | ......COMMAND => Restoring Spotlight search indexing state on Little Bear | 04:31:53 PM | Info | /Volumes/Little Bear: | 04:31:53 PM | Info | Indexing enabled. | 04:31:53 PM | Info | Indexing enabled on Little Bear | 04:31:53 PM | Info | ...ACTION: Running shell script SuperduperShutdown.sh | 04:31:53 PM | Info | ......COMMAND => Invoking After Copy shell script: /Users/David/Library/Application Support/SuperduperShutdown.sh | 04:31:54 PM | Info | Shutdown at Fri Oct 28 16:33:54 2011. | 04:31:54 PM | Error | shutdown: [pid 5279] Last edited by dmbrown; 10-31-2011 at 04:10 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MacBook Air / iMac image problem reboot different wallpaper and screensaver!!?? | Mani | General | 7 | 04-10-2009 10:11 PM |
SD tries to reboot after sparse image backup | tcsdoc | General | 2 | 02-21-2008 03:59 PM |
SuperDuper! completes backup, yet can't access hard drive until computer reboot | lkoret | General | 2 | 02-21-2008 10:55 AM |
How to reboot from NAS - Airport Extreme's AirDisk? | jp42 | General | 1 | 03-04-2007 02:15 PM |
No Reboot After Copy | LGLDSR | General | 3 | 09-22-2005 08:08 PM |