#!/bin/bash rm -rf /pipeline/input/* /pipeline/output/* echo input:$1* python /pipeline/src/exe.py $1 exit_code=$? pipeline=/pipeline/output/pipeline.log if test -f "$pipeline"; then echo "=====pipeline.log====" > /work/user-file.txt cat /pipeline/output/pipeline.log >> /work/user-file.txt fi timefile=/pipeline/output/timestamps.txt if test -f "$timefile"; then echo "$timefile exist" mv /pipeline/output/timestamps.txt /work/timestamps.txt fi echo finish csst-msc-l1-ooc-exe. exit $exit_code