diff build-and-run-job-scripts.sh @ 0:55d2db17c67c draft

planemo upload commit 841d8b22bf9f1aaed6bfe8344b60617f45b275b2-dirty
author mingchen0919
date Fri, 14 Dec 2018 00:21:26 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build-and-run-job-scripts.sh	Fri Dec 14 00:21:26 2018 -0500
@@ -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