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.
Bot slowing down server when running for hours
-
I noticed that after hours of running the bot become slower and slower and take a lot of ram usage from my server, I'm doing mainly scraping a membership website, is it that I would have to reset the browser at the end of the thread?
-
@EscobarBablo How do the cpu, RAM, and disk read/write performance indicators change?