Starting FileMaker-database

Ok, for the first time I need some help regarding AppleScript (and perhaps cronjobs). I’ve a problem with a script which should a specific FileMaker-database. The script looks like:


tell application "Finder"
	open file "correct location"
end tell

Now when I run the script outside of the scripteditor it works perfectly. It also works when I build an app and run this app.
But now this script should run some time during the night and for this I use cronjobs.
The job looks like this:

And now this doesn’t work. It just opens FileMaker but not the specified Database.
Does anybody have an idea what the error could be?

(I’ve also tried to open the DB in another way (open filemaker, then tell filemaker to open the db) but this didn’t work for the same reason).

Thanks for any help and greetings from Switzerland. :wink:

Model: G5
Browser: Firefox 1.0.7
Operating System: Mac OS X (10.4)

Ok, for the first time I need some help regarding AppleScript (and perhaps cronjobs).
Yeah, usually this is the other way around…

I’m not sure what’s wrong either, but have you tried just…

/usr/bin/open “correct location”

as the cron?

Do you get any error when you tried to do the script where you launch FM and then tell it to open the file?