If you have multiple browser threads then you can add a date column in database for each account. When some action is finished then you can add 30 minutes to the date now and add it to the database of that particular account. Then add a check condition in the beginning of the thread which checks if the current date is less or greater than the database date. If it is greater that means there is still time left and then close that thread without opening browser.
Can BAS do few threaded functions in same time? My is crashing and I did literally everything
-
I prefer to have one big bot instead of 4 smaller ones thats why i do everything in 1 bot
but seems its crashing for some reason.
i start bot with 3 threads.
1st thread launches first 15-treaded function
2nd thread launches second 15-treaded function
3rd thread launches third 15-treaded functionwhich gives 45 threads running in same time and 3 threads just waiting till they finish
it works fine till I start using 3rd thread.
then BAS crashes whenever 1st thread 'exits' from 15 threaded function (with end script or success action)
is the way im using BAS wrong?
PS, first thread completed just fine before i launched 3rd thread. after that it always crashes on exit