Stay-Open Script Apps vs Cron
Stay-Open Script Apps vs Cron
- Subject: Stay-Open Script Apps vs Cron
- From: "S. J. Cunningham" <email@hidden>
- Date: Wed, 04 Jun 2014 05:11:30 -0400
I'm developing a "Dead Man" system to periodically check for inactivity and sound an alarm in the event. One option for the "daemon" is an AppleScript "stay-open" application which uses an idle handler to periodically check for inactivity. Another option is a script which is launched by cron (or the Apple Launch Agent system) which checks for inactivity and then quits.
The Applescript option gives me more flexibility but I am leery of it's reliability. If the app dies, so may the person I am monitoring :(
I would appreciate any experience other users/developers may have with a similar situation. I am running Snow Leopard.
P.S. I know there are other ways to do this but I am familiar with Applescript and don't have the time to teach myself Objective-C or some other language.
Thanks,
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden