Commit d5349c12 by WangJinfeng

add rtdmp alter

parent fcc273b7
type=command
command=bash -x rtdmp_alter.sh
\ No newline at end of file
#!/bin/bash
source ../dmp_env.sh
today=${ScheduleTime:-$1}
start_time=$(date +"%Y-%m-%d %H:00:00" -d "-168 hours $today")
end_time=$(date +"%Y-%m-%d %H:59:59" -d "-1 hours $today")
java -cp ../${JAR} mobvista.dmp.datasource.rtdmp.RTDmpAlter "${start_time}" "${end_time}"
if [[ $? -ne 0 ]]; then
exit 255
fi
\ No newline at end of file
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