• 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
Crontab v. Applescript & Command Line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crontab v. Applescript & Command Line


  • Subject: Crontab v. Applescript & Command Line
  • From: Gary Beberman <email@hidden>
  • Date: Mon, 12 Nov 2001 21:54:30 -0800

I am trying to make a script run automatically in OS X 10.1 using crontab. Whenever I do, the script starts. And I immediately get an error dialog telling me:

"Application isn't running"

The strange thing is that the application is running. Even this simple script trips

tell application "Finder"
open file "OS X:Users:Shared:somefile"
end tell

And the stranger thing is that I can run the script from within Terminal just fine. If, from the comand line, I call the script the same way I call it in crontab, it runs perfectly.

What's different in crontab? What can I do about it to get my Applescripts to run?

Thanks,

Gary


  • Follow-Ups:
    • Re: Crontab v. Applescript & Command Line
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Line count of a referenced text file?
  • Next by Date: Delete Bytes from the Start of the Data Fork
  • Previous by thread: Re: Solved problem -916 errors in remote events
  • Next by thread: Re: Crontab v. Applescript & Command Line
  • Index(es):
    • Date
    • Thread