Commit 1ccfc8a3 by WangJinfeng

fix RTDmpFetch bug

parent 5a91cf65
...@@ -5,7 +5,7 @@ source ../dmp_env.sh ...@@ -5,7 +5,7 @@ source ../dmp_env.sh
today=${ScheduleTime:-$1} today=${ScheduleTime:-$1}
start_time=$(date +"%Y-%m-%d 00:00:00" -d "-7 days $today") start_time=$(date +"%Y-%m-%d 00:00:00" -d "-7 days $today")
end_time=$(date +"%Y-%m-%d 23:59:59" -d "-1 days $today") end_time=$(date +"%Y-%m-%d %H:59:59" -d "-1 hours $today")
if [[ ! -d "/home/hadoop/wangjf/DmpServer/data" ]]; then if [[ ! -d "/home/hadoop/wangjf/DmpServer/data" ]]; then
mkdir -p /home/hadoop/wangjf/DmpServer/data mkdir -p /home/hadoop/wangjf/DmpServer/data
......
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