How To Add Delay Before Restarting Bot?

  • Currently, I add a "Sleep" Command to wait before the bot restarts. but I am using lots of threads, so this means that 50 threads have to be running 24/7 (instead of 1 minute every hour) which uses too many resources on my PC.

    is it possible to add a different type of delay so that the browser/bot is closed when finished and will only restart once its time to do another loop?

    thank you. i love BAS!

  • @danielz

    You can use manual control of the browser. At the beginning of the script, call "open browser", and when the work is done "close browser". Then you can use the sleep.

  • thanks a lot!

Log in to reply