view build-and-run-job-scripts.sh @ 34:d7ff8ae0ca36 draft default tip

planemo upload commit 004a320fc0619c234164b44c64ba5dce205734e1
author mingchen0919
date Wed, 05 Dec 2018 15:08:21 -0500
parents fda07562f04a
children
line wrap: on
line source

# run job scripts within the tool outputs directory
cd ${REPORT_FILES_PATH}

#========== build and run job 1 script ============
cat >job-1-script.sh <<EOF
#------------ BELOW IS WHERE YOU WRITE YOUR OWN SHELL SCRIPT --------------


#------------ END OF SHELL SCRIPT ------------------------------------------  
EOF

# run job 1 script
sh job-1-script.sh


#========== build and run job 2 script ============
cat >job_2_script.sh <<EOF
#------------ BELOW IS WHERE YOU WRITE YOUR OWN SHELL SCRIPT --------------


#------------ END OF SHELL SCRIPT ------------------------------------------  
EOF

# run job 2 script
sh job_2_script.sh