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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 02:46 PM.


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