人行利率报备项目之远程程序入口
发布时间
阅读量:
阅读量
远程程序执行的接入点,用于识别前置依赖关系,并实现文件处理流程与FTP服务的协同运作
#!/bin/bash
# date: 2021-06-05
# author: wangkuan
default_date=`date -d "-1 day" +'%Y%m%d'`
filepath=/app/interrate_report/data/$default_date/ADATA
current_date=`date +'%Y%m%d'`
if [ -f "/app/interrate_report/log/shell_log.$current_date" ];then
echo "日期分区log文件存在"
else
echo "日期分区Log文件不存在"
touch /app/interrate_report/log/shell_log.$current_date
touch /app/interrate_report/log/ftp_log.$current_date
echo "日期分区log文件已创建完成"
fi
log_file=/app/interrate
全部评论 (0)
还没有任何评论哟~
