Commit 5450b86c by WangJinfeng

fix RTDmpFetch bug

parent 1ccfc8a3
...@@ -7,8 +7,8 @@ today=${ScheduleTime:-$1} ...@@ -7,8 +7,8 @@ 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 %H:59:59" -d "-1 hours $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/RTDmp/data" ]]; then
mkdir -p /home/hadoop/wangjf/DmpServer/data mkdir -p /home/hadoop/wangjf/RTDmp/data
fi fi
java -cp ../${JAR} mobvista.dmp.datasource.rtdmp.RTDmpFetch "${start_time}" "${end_time}" java -cp ../${JAR} mobvista.dmp.datasource.rtdmp.RTDmpFetch "${start_time}" "${end_time}"
......
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