mirror of
https://gitlab.com/cief-data/data-management.git
synced 2026-08-19 04:13:57 +00:00
test X1
This commit is contained in:
@@ -80,17 +80,17 @@ def x1_load_to_cloudstorage(X1_CSV_TEMP_STORAGE_PATH):
|
||||
|
||||
|
||||
def main():
|
||||
#Make sure cron in the file directory
|
||||
general_function.change_to_current_directory()
|
||||
# #Make sure cron in the file directory
|
||||
# general_function.change_to_current_directory()
|
||||
|
||||
#Extract Load Exchange Data
|
||||
EXCHANGE_CSV_TEMP_STORAGE_PATH = "./exchange/extract/exchange_temp_extract_csv/"
|
||||
exchange_extract(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||
exchange_load_to_cloudstorage(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||
# #Extract Load Exchange Data
|
||||
# EXCHANGE_CSV_TEMP_STORAGE_PATH = "./exchange/extract/exchange_temp_extract_csv/"
|
||||
# exchange_extract(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||
# exchange_load_to_cloudstorage(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||
|
||||
#Delete Temp CSV
|
||||
general_function.delete_csv_in_path(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||
time.sleep(5)
|
||||
# #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()
|
||||
|
||||
Reference in New Issue
Block a user