Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Applescript Run by Cron Error
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="daBee" data-source="post: 1894351" data-attributes="member: 407054"><p>Hi folks. I'm using my <strong>crontab</strong> to run a <strong>Ruby</strong> script that calls an <strong>applescript</strong>. The <strong>applescript</strong> is a simple command:</p><p></p><p>[CODE]osascript -e 'tell app \"System Events\" to display alert \"Northern Lights Prediction Strong\" message \"#{ r }\"'"[/CODE]</p><p></p><p>Getting a <strong>timeout</strong> on this, and I'm not sure why. A test cron brings it up fine, but I'm thinking the OS doesn't like that window staying open. Is this what happens with hanging dialog boxes?</p><p></p><p>Cheers</p></blockquote><p></p>
[QUOTE="daBee, post: 1894351, member: 407054"] Hi folks. I'm using my [B]crontab[/B] to run a [B]Ruby[/B] script that calls an [B]applescript[/B]. The [B]applescript[/B] is a simple command: [CODE]osascript -e 'tell app \"System Events\" to display alert \"Northern Lights Prediction Strong\" message \"#{ r }\"'"[/CODE] Getting a [B]timeout[/B] on this, and I'm not sure why. A test cron brings it up fine, but I'm thinking the OS doesn't like that window staying open. Is this what happens with hanging dialog boxes? Cheers [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Applescript Run by Cron Error
Top