use contact_list_2025-11-28 contact list
This commit is contained in:
@@ -411,7 +411,9 @@ def find_links_to_validate_from_mail_list(mail_list: List[MailAddress], logger)
|
||||
if __name__ == '__main__':
|
||||
# 读取联系人列表
|
||||
contact_to_book_list = read_contacts(
|
||||
file_name="~/Desktop/contact_list_2025-11-06.xlsx")
|
||||
file_name="~/Desktop/contact_list_2025-11-28.xlsx")
|
||||
# file_name="~/Desktop/contact_list_all.xlsx")
|
||||
# file_name="~/Desktop/contact_list_2025-11-06.xlsx")
|
||||
|
||||
# 获取目标邮箱列表
|
||||
all_mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
||||
|
||||
@@ -99,11 +99,9 @@ def send_request_for_file_list(file_list: list, thread_number: int = 20, data_qu
|
||||
if __name__ == '__main__':
|
||||
# file_list = ['~/Desktop/contact_list_2024-05-23.xlsx',
|
||||
# '~/Desktop/contact_list_2024-05-21.xlsx',
|
||||
# '~/Desktop/15_05_to_test.xlsx']
|
||||
# file_list = ['~/Desktop/contact_list_2025-10-30.xlsx']
|
||||
file_list = ['~/Desktop/contact_list_2025-11-06.xlsx']
|
||||
file_list = ['~/Desktop/contact_list_2025-11-28.xlsx']
|
||||
# file_list = ['~/Desktop/contact_list_2025-11-06.xlsx']
|
||||
# file_list = ['~/Desktop/contact_list_all.xlsx']
|
||||
# file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
||||
# file_list = ['~/Desktop/real_name_contacts_100_aol_17_04.xlsx']
|
||||
send_request_for_file_list(file_list=file_list, thread_number=30,
|
||||
data_queue_name=MORNING_DATA_CACHE, stop_at_hour=19, stop_at_mins=50)
|
||||
send_request_for_file_list(file_list=file_list, thread_number=20,
|
||||
data_queue_name=MORNING_DATA_CACHE_2, stop_at_hour=19, stop_at_mins=50)
|
||||
|
||||
+3
-3
@@ -7,13 +7,13 @@ from request_sender_test import send_request_for_file_list
|
||||
|
||||
def start_book_appointment():
|
||||
# file_list = ['~/Desktop/contact_list_2025-09-08.xlsx']
|
||||
file_list = ['~/Desktop/contact_list_2025-11-06.xlsx']
|
||||
send_request_for_file_list(file_list=file_list, thread_number=70,
|
||||
file_list = ['~/Desktop/contact_list_2025-11-28.xlsx']
|
||||
send_request_for_file_list(file_list=file_list, thread_number=73,
|
||||
data_queue_name=MORNING_DATA_CACHE, stop_at_hour=11, stop_at_mins=10)
|
||||
|
||||
|
||||
def start_check_results_job(sched):
|
||||
sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sat', hour='10',
|
||||
sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sun', hour='10',
|
||||
minute='30',
|
||||
misfire_grace_time=10,
|
||||
second='10', timezone='Europe/Paris', max_instances=1, args=[])
|
||||
|
||||
Reference in New Issue
Block a user