Jump to content

Retrospect Client turn off and on by script


Recommended Posts

Hello world,

 

please help me!

 

Situation: We are running a Retrospect Server Version 7.5.6.105 under Windows XP and backup several Clients running Retrospect Client version 6.1.130 on servers (PowerMac only) under Apple MacOS Server 10.39, 10.47 or 10.48 and on several workstations (PowerMac and Intel) under 10.48.

 

Problem: From time to time - we did not figure out how or when - the Retrospect client is not reachable anymore and the server says "client reserved" - but it is not. After manually launching the Retrospect Client application and manually turning it off and on again everything works just fine.

 

Solution: Because we don't know why the clients seems to "crash something" we want to stop (aka "turn off") and start (aka "turn on") the clients by script each night via a cron job.

 

Help wanted: What AppleScript- or Python- or Shell- or whatever could do such a job?

 

Any help will be appreciated. Thank you very much in advance.

 

Best regards,

Sassan

Link to comment
Share on other sites

  • 2 weeks later...

I don't run into "Reserved" issues, but there is a known issue where they'll turn off under some wireless networking configurations... sorry, I don't have the detailed URL handy.

 

Anyway, I've been using the following AppleScript to turn them back on- it should be easy for you to add the off and delay commands for your needs:

Code:



tell application "Retrospect Client" to activate

delay 1

tell application "System Events"

click radio button "On" of radio group 1 of window 1 of process "Retrospect Client"

end tell

delay 2

tell application "Retrospect Client" to quit


 

I use the following as a Send Unix Command from Apple Remote Desktop to do the same: Code:



osascript -e 'tell application "Retrospect Client" to activate' -e 'delay 3' -e 'tell application "System Events"' -e ' click radio button "On" of radio group 1 of window 1 of process "Retrospect Client"' -e 'end tell' -e 'delay 2' -e 'tell application "Retrospect Client" to quit'


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...