Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-08-2007, 05:47 PM   #1
WCityMike
Triple-A Player
 
Join Date: Jan 2002
Location: Chicago, Illinois
Posts: 231
Resuscitating Rob Griffiths' "Auto-Restart Apps" Tip for Leopard?

I used to use our own Rob Griffiths' tip described here:

http://www.macworld.com/weblogs/maco...tart/index.php

to automatically relaunch Quicksilver when it quit. Unfortunately, it doesn't work under Leopard because Leopard writes individual time-stamped logs, not into one file. So telling it to look for a change in a single Quicksilver crash log doesn't work any longer, since Quicksilver now writes multiple crash logs.

Does anyone have any ideas on how to bring the hint into the Leopard age?
WCityMike is offline   Reply With Quote
Old 12-09-2007, 07:20 AM   #2
griffman
MVP
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 1,472
Although I haven't tested this, it seems there's a KeepAlive option with launchd in 10.5; here's one example (in the Installing MySQL section).

Also, I found this alternative on an Apple mailing list. Also untested here.

-rob.
griffman is offline   Reply With Quote
Old 12-09-2007, 07:28 AM   #3
WCityMike
Triple-A Player
 
Join Date: Jan 2002
Location: Chicago, Illinois
Posts: 231
Thanks, Rob. I am giving the "KeepAlive" feature a try. Although I might be able to implement the script, I don't think I understand exactly how it would plug together with a launchd script, so I figured I'd try the one I fully understood first. :-)
WCityMike is offline   Reply With Quote
Old 12-09-2007, 08:11 AM   #4
griffman
MVP
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 1,472
If you get it working, post back (or just submit it) -- it should turn into an updated hint!

-rob.
griffman is offline   Reply With Quote
Old 12-09-2007, 09:00 PM   #5
WCityMike
Triple-A Player
 
Join Date: Jan 2002
Location: Chicago, Illinois
Posts: 231
The "Keep Alive" one appears to be working!
WCityMike is offline   Reply With Quote
Old 12-10-2007, 03:05 AM   #6
mark hunte
MVP
 
Join Date: Apr 2004
Location: Hello London Calling
Posts: 1,787
I have submitted a fix
__________________
MH.

Last edited by mark hunte; 12-10-2007 at 04:06 AM.
mark hunte is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -5. The time now is 05:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.