view build-and-run-job-scripts.sh @ 6:d961c2f5e172 draft

planemo upload commit 0b6e8a54187fd05c2bd373c8a0d7d23590240404-dirty
author mingchen0919
date Mon, 14 May 2018 14:32:06 -0400
parents b69138a05735
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