Jump to content
Server Maintenance This Week. ×

do shell script executing script on the real server itself (not FM client user machine)


mech

This topic is 4577 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi I have a FM 11 server running on a remote server on Mac XServe. I have a script that is "Native AppleScript" that look like this:

property rb_script : quoted form of "/echo_script.rb"

set record_id to cell "JPID" of current record

do shell script "ruby " & rb_script & " " & record_id

I logging in at my home using the FM Client and writing the above script. The problem is FM is finding the path to /echo_script.rb to my local hard drive where the FM client is running. I actually want it to be on the remote server side! Any idea how to make FM know where to find the path?

fm.png

Regards

mech

2011

Link to comment
Share on other sites

  • 8 months later...

Since filemaker server scripts are executed via the server, I think you need to run it via a scheduled script, or possibly have VPN or other virtual drive access to that file if you are trying this remotely.

The other option would be to use a plugin (IE http://360works.com/remotescripter/ ) to launch the filemaker script remotely from a filemaker installation on the server.

Link to comment
Share on other sites

This topic is 4577 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.