157 reputation
3
bio website
location
age
visits member for 2 years, 1 month
seen Sep 3 at 20:49

Sep
3
accepted Alert when running process finishes
Sep
3
comment Alert when running process finishes
Minor (and likely obvious) note – when said process is not owned by user, must sudo the kill.
Sep
3
comment Alert when running process finishes
Phenomenal! Works like a charm.
Sep
3
comment Alert when running process finishes
Thanks Willian, but as I said, the particular challenge in my use-case is that this is not a command that I am issuing, but an already running process. Thus && is not an option. Thanks anyway.
Sep
3
comment Alert when running process finishes
monit (mmonit.com/monit/documentation) seems like a potential option, but much more complex than what I need – hoping there may be a simpler, more direct, and less bloated way of doing only what I am asking, and no more.
Sep
3
asked Alert when running process finishes
Mar
17
accepted rsync and SMB share
Mar
17
asked rsync and SMB share
Sep
6
awarded  Scholar
Sep
6
awarded  Supporter
Sep
6
accepted Run shell script when new volume mounted
Sep
6
awarded  Student
Sep
6
asked Run shell script when new volume mounted