Compile changes on instalation

well… I only was able to solve it by creating a small pyton damon to store and get the value on every program start.

the pyton daemon is this:

from SimpleXMLRPCServer import SimpleXMLRPCServer
DefaultTime = 65
Time = DefaultTime

def getTime():
response = None
response = Time
return response

def setTime(value):
global Time
Time = value
return True

def testRPC():
return True

print “Opening XML-RPC Server”
server = SimpleXMLRPCServer((“”, 23445), allow_none=True)
server.register_function(setTime, “setTime”)
server.register_function(getTime, “getTime”)
server.register_function(testRPC, “testRPC”)
server.serve_forever()

and on my URscript instalation contribution instead having:

TimeToExecute = 'FixedValueFromDatamodel ’

I have something like:

RPCserver = rpc_factory(“xmlrpc”,“http://127.0.0.1:23445”)
TimeString = RPCserver .getTime()
TimeToExecute = to_num(timeString)

I set the value from my Instalation contribution constructor after a delay from startup to initialize the daemon with a InvokeLater function.

All is based on the “Program Monitor” example:

I hope this helps someone.