• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Stay-Open Script Apps vs Cron
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Second Call to Non-Stay-Open Script App Fails
  • Next by Date: Apple Mail syntax for nested folders
  • Previous by thread: Re: Second Call to Non-Stay-Open Script App Fails
  • Next by thread: Re: Stay-Open Script Apps vs Cron
  • Index(es):
    • Date
    • Thread