Timeline for Run commands in parallel and wait for one group of commands to finish before starting the next
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 25, 2024 at 8:45 | comment | added | gramcha | Good solution @RobertL and thank you. I used your solution to speed up the pm2 process startup. | |
| Jul 6, 2023 at 14:15 | comment | added | roli | Great solution, but is there a way to collect returncodes of theses paralell running jobs? To be exact, important for me is if all returned zero, or not. | |
| Jun 22, 2023 at 21:29 | comment | added | nanobar | how can we run a script which never exits, wait for another script to exit, then run another script that never exits? | |
| Nov 22, 2015 at 14:19 | vote | accept | CommunityBot | ||
| Nov 11, 2015 at 0:31 | history | edited | RobertL | CC BY-SA 3.0 | Explain sleep parameter calculation purpose |
| Nov 10, 2015 at 12:26 | history | edited | RobertL | CC BY-SA 3.0 | Replace example code with working example and output |
| Nov 10, 2015 at 12:05 | history | edited | RobertL | CC BY-SA 3.0 | remove shebang |
| Nov 10, 2015 at 11:17 | history | edited | RobertL | CC BY-SA 3.0 | removed unnecessary syntax |
| Nov 10, 2015 at 11:17 | comment | added | RobertL | @PSkocik, True. Vestigial organs. | |
| Nov 10, 2015 at 11:15 | comment | added | Petr Skocik | I think the curlies are totally meaningless in your example, though. Wait is process-global, and the curlied groups won't create a new fork in this case. | |
| Nov 10, 2015 at 11:10 | history | edited | RobertL | CC BY-SA 3.0 | fix to make sure all complete before moving to next group |
| Nov 10, 2015 at 11:05 | history | answered | RobertL | CC BY-SA 3.0 |