On Wed, 11 Dec 2013, Andrew Gwozdziewycz wrote:

On Wed, Dec 11, 2013 at 4:23 PM, Calvin Morrison <mutanttur...@gmail.com> wrote:
I'm confused how this is different than the usual

longrunningscript.sh && generic_notify_command

Could you clarify?

Using -t, you can notify when the longrunningscript is actually still
running. So it's very useful if you have something that fails
repeatedly and get an alert when it actually starts.

So basically if you have a command that takes input, like ssh, it's like
being able to do this:

[local-machine %] ssh user@host & && xmessage connected
[ssh-machine %] ...

`xmessage connected' will be executed even though ssh hasn't exit(0)'d
yet.



Rob

Reply via email to