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.
What are reasons for threaded function exit crash?
-
when threaded function with 10+ threads exits, using either end script or normal way (just let it execute all code, it will finish the function at thelast block) it often crashes
i dont know why because i have 2 threaded functions that end same way, have same amount of threads, but one crashes.
i can see in log that 4 threads out of 15 successfuly ended, and then boom log stopped due to crash
thanks for any info
-
It sounds like it's the threading process in the C++ code to save your process when an endless threading launch loop occurs.
Have you looked at the full logs in the logging folder? Even on a crash the logs are saved.
-
Since you're having alot of problems, send me a PM with your current theory on why its crashing so I can help you dive into this issue and get it fixed for you if possible!