Jump to content
Mazkot

Version 4 automatic script

Recommended Posts

Is there a way to automatically run a script if the user ends up downloading a new "version" of the database?

Share this post


Link to post
Share on other sites

Hey Mazkot,

Here is the recommended way to do this: In the script that the sync button is linked to - you add a call to the script that you would like to run before any of the script steps already listed. In this script you can check for a field in the MirrorSync table listed as LastClientToken. If this field is empty then it means that it is your clients first sync which could indicate that they need to run your script. Also run a check for the DavabaseVersionNumber in the mirror sync table. If this number is different than what you are already running then they should run your script. 

-Zach

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


×

Important Information

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