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.
How to reload resources and retry in 5 minutes if there are no resources left?
-
As above.
When there are no resources it ends thread or whole bot.
Should I have "reload resources" at start of every thread? so this way:
- it ends thread because no resources
- it starts thread
- it reloads resources
- it finishes task
i have to look at it
-
There is an option to not end the thread even though the content in the resource is gone, and there is another way to have infinite resources, you can copy and paste the same content over several lines until you find the maximum number you want to run the script. Then the script can terminate by the "success" number set at the top or when the amount of rows entered in your Resource ends.
