AnsweredAssumed Answered

Multi-User Lock

Question asked by on May 4, 2016
Latest reply on May 5, 2016 by

I have an application that runs in a multi-user environment, all working well except that now I find I need to have a couple of scripts run exclusively, that is, if one user is already running the script, then a second user must wait until the first is finished, before they can start, so that I enforce the rule that only one user is ever running the script.

I can think of several ways to implement this using a flag in a global variable, or in a shared file, but what would the experts in here recommend?