Our helpdesk system imports data from our HR system every night and starts a compiled AutoIt script for every new record found. Unfortunately it doesn't do a "RunWait" but just a "Run" so many instances of the script might be started at the same time.
As the AutoIt script does extensive logging I get a nearly unreadable log when many scripts write to the log at the same time.
My question is:
Is there an easy way to make sure that only one instance of all started scripts is processing at any