can use multi thread to validate links

This commit is contained in:
2024-05-04 14:50:26 +02:00
parent bb1a01e204
commit b9f390dc83
4 changed files with 227 additions and 4 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ from request_sender_test import start_send_requests
def start_book_appointment():
start_send_requests(thread_number=25, file_path='~/Desktop/contact_list_2024-04-25_2.xlsx')
start_send_requests(thread_number=25, file_path='~/Desktop/contact_list_2024-05-04.xlsx')
def start_check_results_job(sched):
sched.add_job(start_book_appointment, 'cron', day_of_week='mon-sat', hour='10',
minute='30',
misfire_grace_time=10,
second='0', timezone='Europe/Paris', max_instances=1, args=[])
second='20', timezone='Europe/Paris', max_instances=1, args=[])
def config_and_start_jobs():