Commit 97c25e91 authored by Zhang Xiaoli's avatar Zhang Xiaoli
Browse files

run.py -> run -p

parent 07a29a19
......@@ -18,7 +18,8 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -26,8 +27,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -18,7 +18,8 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -26,8 +27,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -21,7 +21,8 @@ if [ "$has_data_list" = "true" ]; then
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -29,8 +30,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -18,7 +18,8 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -26,8 +27,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -18,16 +18,16 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python l1_pipeline_script_ifs_rss_simdata.py $obsid
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -18,16 +18,17 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
# python l1_pipeline_script_ifs_rss_simdata.py $obsid
run -p $message
exit_code=$?
echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -22,7 +22,8 @@ if [ "$has_data_list" = "true" ]; then
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -30,8 +31,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -23,7 +23,8 @@ if [ "$has_data_list" = "true" ]; then
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -31,8 +32,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -21,17 +21,16 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
if test -f "$timefile"; then
......
......@@ -22,16 +22,16 @@ if [ "$has_data_list" = "true" ]; then
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -23,7 +23,8 @@ fi
echo "run.py message : $message"
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -31,8 +32,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamps.txt
if test -f "$timefile"; then
......
......@@ -18,7 +18,8 @@ if [ "$has_data_list" = "true" ]; then
message=$(echo "$message" | jq -c '.')
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -26,8 +27,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamp.txt
......
......@@ -22,7 +22,8 @@ if [ "$has_data_list" = "true" ]; then
fi
cd /pipeline/output/
python /pipeline/app/run.py $message
# python /pipeline/app/run.py $message
run -p $message
exit_code=$?
......@@ -30,8 +31,8 @@ echo "=====pipeline.log====" > /work/custom-out.txt
cat /pipeline/output/pipeline.log >> /work/custom-out.txt
echo "======module.log======" >> /work/custom-out.txt
cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
# echo "======module.log======" >> /work/custom-out.txt
# cat /pipeline/output/module.log|tail -n 100 >> /work/custom-out.txt
timefile=/pipeline/output/timestamps.txt
if test -f "$timefile"; then
......
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