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.
BAS stops every 2 hours
-
Hello. This problem arises - the BAS stops after 2 hours of operation. My task is to parse one page constantly, my bot runs in one thread that does not restart. Works without interruption. But, every 2 hours it stops, and I see an inscription with which I attach a screenshot. Has anyone encountered such a problem?
Because restarting a script every 2 hours that should run 24/7 is not very convenient