Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-23-2010, 09:13 AM
rlesperance rlesperance is offline
Registered User
 
Join Date: Dec 2007
Posts: 40
SD resets my computer's idletime ...

Hi Dave,

When the backup is not successful, SD is left open and it's status is «inactive». Also, every 4 minutes or so, it is modified to «running», probably because it is checking to find the drive. By so doing my computer's idle time is reseted preventing forever from going to sleep. My work around has been to write an AppleScript handler that forces quit SD if the idletime is more than 3 minutes.

When unsuccessful, couldn't SD offer the option to quit or to be left open ? SD could use a persistent message from Growl to remind the user of that case.

Regards.


Robert
Reply With Quote
  #2  
Old 02-23-2010, 09:18 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
This isn't something we're likely to change, Robert, no: we want to make absolutely sure people see their backup didn't run due to an error (and have since the very first version of SuperDuper).

That said, I don't know why we'd be resetting your idle time: the only time we endeavor to keep a Mac awake is when a copy is actually in progress. Are you sure we are resetting your idle time?
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 02-23-2010, 10:35 AM
rlesperance rlesperance is offline
Registered User
 
Join Date: Dec 2007
Posts: 40
Yes ... I have an idle handler that checks SD's status and that calculate the present idletime at each loop. Every 4 minutes SD's status reappears as «running» and the idle time is reseted.

Unfortunately, in my handler the log is created in an application running on my computer and called Indigo. Here is part of the handler, left to you to log your results:


on idle

tell application "SuperDuper!"
if (status is running) then
set idleTime to round (do shell script "ioreg -c IOHIDSystem | perl -ane 'if (/Idle/) {$idle=(pop @F)/1000000000; print $idle,\"\";last}'")
set textToLog to ("SuperDuper is running and idleTime is " & idleTime)
else
set idleTime to round (do shell script "ioreg -c IOHIDSystem | perl -ane 'if (/Idle/) {$idle=(pop @F)/1000000000; print $idle,\"\";last}'")
set textToLog to ("SuperDuper is not running and idleTime is " & idleTime)
end if
end tell

-- Include here where to log the variable textToLog ...

end idle



When left open and inactive, you should see that the computer's idleTime is reseted by SD to 0 every 4 minutes. Since you already use Growl, leaving a sticky Growl message informing the user that the backup has not completed, should be secure enough.

Regards.



Robert
Reply With Quote
  #4  
Old 02-23-2010, 10:51 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Requiring people to use Growl isn't something I plan to do, no - I don't think that's an appropriate way of handling this. I'll log this issue and see what might be going on.
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 02-23-2010, 10:52 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I assume, by the way, that this only happens when SuperDuper! has encountered an error during a scheduled copy because a drive wasn't attached, not when you simply start SuperDuper?
__________________
--Dave Nanian
Reply With Quote
  #6  
Old 02-23-2010, 10:58 AM
rlesperance rlesperance is offline
Registered User
 
Join Date: Dec 2007
Posts: 40
You already use Growl to give notices to the user ... I don't understand your comment
Reply With Quote
  #7  
Old 02-23-2010, 10:58 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Yes, but it's in addition to what we already do, not in replacement.
__________________
--Dave Nanian
Reply With Quote
  #8  
Old 02-23-2010, 11:01 AM
rlesperance rlesperance is offline
Registered User
 
Join Date: Dec 2007
Posts: 40
The only event that I have seen yet that leaves SD open is when the backup does not complete successfully ...
Reply With Quote
  #9  
Old 02-23-2010, 11:31 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
All errors leave SD! open.
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SuperDuper and my computer's idletime bbriand General 1 10-29-2009 10:04 AM
Bootable backups for 2 different Mac computers on one external hard drive? howlinhill General 11 01-14-2009 08:49 AM
Backing up multiple computers to one drive jscoonover General 12 03-11-2008 02:16 PM
Can you play on two computers simultaneously? geigerc General 2 07-05-2007 02:36 PM
Backing up 2 computers cbrg148 General 5 09-25-2006 01:46 PM


All times are GMT -4. The time now is 08:46 AM.


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