diff build-and-run-job-scripts.sh @ 4:b69138a05735 draft

planemo upload commit 7d0e1985fcb1e7dedf3eb76569095f747fc3a330-dirty
author mingchen0919
date Tue, 01 May 2018 11:44:04 -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 11:44:04 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