Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Make sure a file is open? launchd?

Make sure a file is open? launchd?
Thread Tools
Professional Poster
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Mar 16, 2007, 11:37 AM
 
We have a couple of old Filemaker databases that we run under a separate account on one of our macs so that people can remotely access the databases using a browser. This is all the account is for, nevertheless, people log in and shut down Filemaker periodically or they just restart the computer from another account for some dumb reason.

Anyway, I would like to make it so that the databases will always be running, even in case of crashes, reboots, or just stupidity. I can set the filemaker account to log in automatically and put the databases in login items and this works fine, but then the account is open and someone is likely to log out. I can set a screensaver to activate quickly that requires a password so that users have to switch to another account to use the computer. This is fine, but doesn't solve the problem of filemaker crashing.

Is there a way to have launchd monitor whether the files are open and then launch them if they are not, say every 5 minutes? Can it open launch them within the filemaker account user space and do so automatically even if the account is logged out (log it in automatically?).

Any other suggestions?

kman
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:36 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2