25.02.2017, 08:09
(This post was last modified: 25.02.2017, 08:10 by Erwin van der Zwart.)
Hi,
os.sleep only stops the script where it is used, for event based scripts take into account that each event creates a new script procedure, so if you use os.sleep in a event based script you might have multiple instances of this script running in parallel. We have a small script to kill the previous script with os.sleep to avoid this.
BR,
Erwin
os.sleep only stops the script where it is used, for event based scripts take into account that each event creates a new script procedure, so if you use os.sleep in a event based script you might have multiple instances of this script running in parallel. We have a small script to kill the previous script with os.sleep to avoid this.
BR,
Erwin