I don't know if my title really encompasses what I am trying to accomplish. I have a list of email addresses and I want to only email about 50 a day. So I have made the following scripts neither are working:
email_list = ['[email protected]','[email protected]','[email protected]','[email protected]','[email protected]']
for num in range(0, 2):
for email in email_list:
print(email)
time.sleep(2)
email_list = ['[email protected]','[email protected]','[email protected]','[email protected]','[email protected]']
for email in email_list:
for num in range(0, 2):
print(email)
time.sleep(2)
So what I would like to do is run the script for 50 times, then wait for a specific period of time then run the next cycle.