Add sleep

This commit is contained in:
Yam ZhengLim
2022-11-12 12:53:20 +08:00
parent cbdbfca0c8
commit b29f1e3baf
+3 -2
View File
@@ -1,5 +1,6 @@
import os
from os import walk
import time
import general_function
import exchange.extract.exchange_extract_function as extract_func
import exchange.load.exchange_load_function as load_func
@@ -89,8 +90,8 @@ def main():
#Delete Temp CSV
general_function.delete_csv_in_path(EXCHANGE_CSV_TEMP_STORAGE_PATH)
time.sleep(5)
#Make sure cron in the file directory
general_function.change_to_current_directory()