new files

This commit is contained in:
2024-08-05 15:33:32 +02:00
parent e4cdae2f2e
commit 3b18a0756b
+13 -7
View File
@@ -6,12 +6,18 @@ from request_sender_test import send_request_for_file_list
def start_book_appointment(): def start_book_appointment():
file_list = ['~/Desktop/contact_list_2024-05-27.xlsx', file_list = ['~/Desktop/contact_list_2024-07-25.xlsx',
'~/Desktop/contact_list_2024-05-25.xlsx', '~/Desktop/contact_list_2024-07-26.xlsx',
'~/Desktop/contact_list_2024-05-24.xlsx', '~/Desktop/contact_list_2024-07-30.xlsx',
'~/Desktop/contact_list_2024-05-23.xlsx', '~/Desktop/contact_list_2024-07-24.xlsx',
'~/Desktop/contact_list_2024-05-22.xlsx'] '~/Desktop/contact_list_2024-07-22.xlsx',
send_request_for_file_list(file_list=file_list, thread_number=40, '~/Desktop/contact_list_2024-07-05.xlsx',
'~/Desktop/contact_list_2024-07-04.xlsx',
'~/Desktop/contact_list_2024-06-22.xlsx',
'~/Desktop/contact_list_2024-06-20.xlsx',
'~/Desktop/contact_list_2024-06-19.xlsx',
'~/Desktop/contact_list_2024-05-27.xlsx']
send_request_for_file_list(file_list=file_list, thread_number=58,
data_queue_name=MORNING_DATA_CACHE) data_queue_name=MORNING_DATA_CACHE)
@@ -19,7 +25,7 @@ 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-sat', hour='10',
minute='30', minute='30',
misfire_grace_time=10, misfire_grace_time=10,
second='20', timezone='Europe/Paris', max_instances=1, args=[]) second='10', timezone='Europe/Paris', max_instances=1, args=[])
def config_and_start_jobs(): def config_and_start_jobs():