Jump to content
Sign in to follow this  
GregInChrist

Button to make server preform script?

Recommended Posts

I am looking to create a consistent environment. Is it possible to have a client press a button that tells the server to preform a script rather then having the client application doing the work?

I may be thinking about it wrong, but like a server will run a scheduled script, I would like a user to initiate a script by pressing a button but always have the server perform the action.

The only information I am going off of, that makes me hope I can do it, is in the script dialog there is a compatibility drop-down for client, Web, and Server. I am hoping that the server can do more then just a scheduled task...

Any ideas?

Share this post


Link to post
Share on other sites

The short answer is "No," a client cannot invoke a scheduled script.

However, a scheduled script can do a find in a file and process found records.

The compatibility selection that you see in the script is to help you write server-compatible scripts (some steps are not supported) that are run using a FMS schedule.

Share this post


Link to post
Share on other sites

Fabrice Nordmann has blogged about a technique that might make this possible

Search web for FMSDIFM

Share this post


Link to post
Share on other sites

In essence the answer is yes, you can execute a script on the server, but it will have to be a web compatible script. You can do that through a URL that talks to the XML interface.

Keep in mind that web compatible scripts are different in functionality than a server-side scheduled script.

Share this post


Link to post
Share on other sites

FMSDIFM is certainly taking queuing for the server to another whole level. Thanks for pointing me to it, John.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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