Hi All,
Im saving a json file from automation script, then using that file to make further operation through scheduler. I have 9 agents and have scheduler configured only on 2 agents. If my json file is not synced in other agents properly the scheduler will not execute the operation.
If the scheduler doesnt do the desired operation and if i check the DM server i couldn't see json file on the server. Out of 9 agents, it got created in some other agent and file is not synced. But after few days i could see the file is present in all the agents with exaction created time.
my doubt is what is the average time of the file to get synced across all the agents?
You should be able to notify DataMiner of a file update from your script, after creating/editing it. Could you try it out with the following method? Do note that this is an internal method call that could be subject to change.
engine.SendSLNetSingleResponseMessage(new NotifyFileEventRequest
{
FilePath = PathToYourFile,
Type = FileNotificationType.Changed, // Add and Remove can also be used if applicable.
});