Jump to content
Sign in to follow this  
Sassan.Tat

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

Share this post


Link to post
Share on other sites

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'


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×