Commit 789dbd8a authored by Timothy Ardha's avatar Timothy Ardha

remove duplicate dag

parent a140f2b4
......@@ -141,10 +141,6 @@ with DAG("APJ_1_t24_interface_monthly",
task_id="sftp_de_i_history",
bash_command=f"""sshpass -p {Variable.get("SFTP_T24_PASSWORD")} sftp -o StrictHostKeyChecking=no -r {Variable.get("SFTP_T24_USER")}@{Variable.get("SFTP_T24_HOST")}:/DFE/{yesterday_nodash}/*{yesterday_nodash}.ST.DE.I.HISTORY.csv {Variable.get("LOCAL_PATH")}t24/{yesterday_nodash}/""",
)
sftp_de_i_history = BashOperator(
task_id="sftp_de_i_history",
bash_command=f"""sshpass -p {Variable.get("SFTP_T24_PASSWORD")} sftp -o StrictHostKeyChecking=no -r {Variable.get("SFTP_T24_USER")}@{Variable.get("SFTP_T24_HOST")}:/DFE/{yesterday_nodash}/*{yesterday_nodash}.ST.DE.I.HISTORY.csv {Variable.get("LOCAL_PATH")}t24/{yesterday_nodash}/""",
)
sftp_fincloud = BashOperator(
task_id="sftp_fincloud",
bash_command=f"""sshpass -p {Variable.get("SFTP_FINCLOUD_PASSWORD")} sftp -o StrictHostKeyChecking=no -r {Variable.get("SFTP_FINCLOUD_USER")}@{Variable.get("SFTP_FINCLOUD_HOST")}:/home/fincloud.user/dwh/{yesterday_nodash}/Laporan_PPAP_Akhir_Bulan.csv {Variable.get("LOCAL_PATH")}t24/{yesterday_nodash}/""",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment