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.
Running 5 Threads with 30 mins interval each?
-
So my plan is to run 5 or more threads with 30 mins interval each run
for example
thread 1 will execute function play()
after 30 mins even if thread 1 is not done yet, thread 2 will execute same function as thread 1 which is function play()
and so on...can I do this for all threads? 30 mins interval each thread? then I plan to run it on scheduler to run 1x a day for 30 days.
