Commit e87e6ee2 authored by 赵建伟's avatar 赵建伟

update codes

parent 3de65f1e
File mode changed from 100644 to 100755
#step1.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online ml_device_day_active_status 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online ml_device_day_active_status 20200423
\ No newline at end of file
#step2.job
type=command
dependencies=step1
command=sh /srv/apps/bi-report/lib/shell/hive2csv.sh demo
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/hive2csv.sh demo
\ No newline at end of file
#step1_1.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_3_0_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_3_0_view 20200423
\ No newline at end of file
#step1_2.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_aggregate_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_aggregate_view 20200423
\ No newline at end of file
#step1_3.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_tag_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_tag_view 20200423
\ No newline at end of file
#step1_4.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_attr_view 20200423
\ No newline at end of file
#step1_5.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_map_oldtag_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_map_oldtag_view 20200423
\ No newline at end of file
#step1_6.job
type=command
command=sh /srv/apps/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_view 20200423
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/waitsuccess.sh hive online tl_hdfs_api_tag_view 20200423
\ No newline at end of file
#step2.job
type=command
dependencies=step1_1,step1_2,step1_3,step1_4,step1_5,step1_6
command=sh /srv/apps/bi-report/lib/shell/sparksql2email.sh demo_param zhaojianwei zhaojianwei
\ No newline at end of file
command=sh /home/bi/bi-report/lib/shell/sparksql2email.sh demo_param zhaojianwei zhaojianwei
\ No newline at end of file
......@@ -45,7 +45,7 @@ echo "V_7DAY_M_D_AGO: "$V_7DAY_M_D_AGO
echo "************************************"
echo ""
cp "/srv/apps/bi-report/sqls/"$1".sql" $tmp_file_name
cp "/home/bi/bi-report/sqls/"$1".sql" $tmp_file_name
sed -i "s/\$V_PARYMD/$V_PARYMD/g" $tmp_file_name
sed -i "s/\$V_PARY_M_D/$V_PARY_M_D/g" $tmp_file_name
sed -i "s/\$V_1DAYMD_AGO/$V_1DAYMD_AGO/g" $tmp_file_name
......
......@@ -43,7 +43,7 @@ echo "V_7DAY_M_D_AGO: "$V_7DAY_M_D_AGO
echo "************************************"
echo ""
cp "/srv/apps/bi-report/sqls/"$1".sql" $tmp_file_name
cp "/home/bi/bi-report/sqls/"$1".sql" $tmp_file_name
sed -i "s/\$V_PARYMD/$V_PARYMD/g" $tmp_file_name
sed -i "s/\$V_PARY_M_D/$V_PARY_M_D/g" $tmp_file_name
sed -i "s/\$V_1DAYMD_AGO/$V_1DAYMD_AGO/g" $tmp_file_name
......
......@@ -45,7 +45,7 @@ echo "V_7DAY_M_D_AGO: "$V_7DAY_M_D_AGO
echo "************************************"
echo ""
cp "/srv/apps/bi-report/sqls/"$1".sql" $tmp_file_name
cp "/home/bi/bi-report/sqls/"$1".sql" $tmp_file_name
sed -i "s/\$V_PARYMD/$V_PARYMD/g" $tmp_file_name
sed -i "s/\$V_PARY_M_D/$V_PARY_M_D/g" $tmp_file_name
sed -i "s/\$V_1DAYMD_AGO/$V_1DAYMD_AGO/g" $tmp_file_name
......@@ -63,6 +63,6 @@ cc=$3
echo "to: "$to
echo "cc: "$cc
python2.7 /srv/apps/bi-report/lib/python/sendmail.py -t $to -s 自动发送 -m $cc -a $result_file_name
python2.7 /home/bi/bi-report/lib/python/sendmail.py -t $to -s 自动发送 -m $cc -a $result_file_name
exit 0
\ 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