Crontab v. Applescript & Command Line
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