Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi

in my milking solution we now have table for productions , where the overseer of the production can report how their schedule went. until now we had created a production for the overseer to complete.

What i want is to create a server side script that would create a recurring production every day at a soecified time.

How would i create such a script for server side  , i havw create many scrips before but never really worked with server side scripts.

I would appreciate if someone could help me out on this.

Posted

You create the script like any other script, but select "server" in the compatibility view (top right of the script window); that will show you whether you are using script steps that don't work on server.

Also keep in mind that a server-side script schedule also runs any OnOpen and OnClose scripts so vet those too to make sure they are compatible, or make them exit right away when it runs on the server (use the Get(ApplicationVersion) for that.  It will have the word "server" in when the script is executed on the server.

 

 

 

Posted (edited)

what i want that if recurring is checked then it should run a shceduled server side script  , how would i specify that?

 

Edited by Smiley
Posted

You set up the script schedule on FMS, in the admin console.   I imagine that the script would start by finding any records that are marked as 'recurring' and work with those.

This topic is 3018 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.