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.
Help me refine Call function asynchronously
-
I'm using this function to copy URLs while the other threads are working. I don't know if it's the best function, but it's working. (Is it the best function?)
I'm noticing that in the scheduler summary, every function marked as "OK" on the dashboard is reported as an error. Where did I go wrong?
Is it also possible to remove the "OK" message from the dashboard?
thankyou for you help
-
Уверен что по другому реализовать не выйдет? Что то заумно слишком для проверки url делать асинхрон функцию которая при этом не в цикле. Задача то в чем? Сообщение "ок" ты не уберешь, с помощью модуля "logger" можно лишь убрать надписи "время", "номер потока" и "ожидание элемента".