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