summaryrefslogtreecommitdiff
path: root/wait_for_jobs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wait_for_jobs.sh')
-rwxr-xr-xwait_for_jobs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/wait_for_jobs.sh b/wait_for_jobs.sh
new file mode 100755
index 0000000..f97986c
--- /dev/null
+++ b/wait_for_jobs.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+sleep 1 && echo 'Slept 1' &
+sleep 2 && echo 'Slept 2' &
+sleep 3 && echo 'Slept 3' &
+
+wait