diff build-and-run-job-scripts.sh @ 10:fda07562f04a draft

planemo upload commit d28f1764ef50ca42f996cada585cfcea9ec04e5a
author mingchen0919
date Tue, 01 May 2018 10:01:46 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build-and-run-job-scripts.sh	Tue May 01 10:01:46 2018 -0400
@@ -0,0 +1,25 @@
+# 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