Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'still won't work right' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
still won't work right
Authored by: Embro on Feb 06, '02 10:58:45PM

I've actually messed with this for some time now and not had great results. I set it to */2 to run every two minutes. Use cronniX to make your life easy. Read it's help for a full explanation of the crontab settings.

If I make the script a stand alone app and use /usr/bin/open /Users/me/Documents/myscript it runs properly although it actually switches out of the current app when it runs. That is too annoying.

I cannot get the osascript command to work right from cron. I get an error saying "syntax error: Can't get the application's event dictionary. (-2709)" although if I run this same command from terminal it works properly. This is with either just a text file or a compiled script I think.

Does this need to be put in the System Crontab rather than my user Crontab? Maybe I'll try that next.

If anyone knows how to fix this please share ;-)


[ Reply to This | # ]