Timeline for How do I wait for nohup jobs to finish within a shell script?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 2, 2018 at 23:40 | answer | added | thomas | timeline score: 2 | |
| Mar 2, 2018 at 21:29 | history | edited | lovechillcool | CC BY-SA 3.0 | no details |
| Mar 2, 2018 at 21:25 | comment | added | lovechillcool | @user1404316 just for your reference $? somehow refers the correct process. I tested using a failing scenario of impala-shell and $? passed 1 correctly. | |
| Mar 2, 2018 at 21:08 | comment | added | user1404316 | Just glancing at the code not in detail, you're using $? improperly. [ $? -ne 0 ] checks the exit code of the echo statement, not the nohup. Assign $? to something in order to use it more than once. | |
| S Mar 2, 2018 at 21:06 | history | edited | lovechillcool | CC BY-SA 3.0 | Worded as question, grammatical errors fixed |
| S Mar 2, 2018 at 21:06 | history | suggested | aliceinpalth | CC BY-SA 3.0 | Worded as question, grammatical errors fixed |
| Mar 2, 2018 at 21:03 | review | Suggested edits | |||
| S Mar 2, 2018 at 21:06 | |||||
| Mar 2, 2018 at 20:56 | history | asked | lovechillcool | CC BY-SA 3.0 |