Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
My script need to change the threads number dynamically, e.g.: 9:00-10:00 i need 30 threads,10:00-11:00 40 threads ...
What should I do?
Dynamically increase the number of threads can not. Specify at once the maximum number of threads, and let the excess threads sleep. Or use the action "Call function in several threads".