Discussion:
Checking if job is finished in a specific window
George
2015-03-11 15:31:59 UTC
Permalink
Hi all,

I would like to ask for some help here.

Let's say that I run a job in the first window of a session called
"mysession". What command, if there is such, can I use to check if the
job is finished or it is still running?

Thank you in advance,

George
Thomas Adam
2015-03-11 15:36:05 UTC
Permalink
Post by George
Hi all,
I would like to ask for some help here.
Let's say that I run a job in the first window of a session called
"mysession". What command, if there is such, can I use to check if the
job is finished or it is still running?
Use either monitor-silence or monitor-activity depending on how the
command works. Or you could do something like:

program && echo -e "\a"

Assuming you use terminal bells.

There's a few more ways, I'm sure.

-- Thomas Adam
George
2015-03-12 19:14:47 UTC
Permalink
Post by Thomas Adam
Post by George
Hi all,
I would like to ask for some help here.
Let's say that I run a job in the first window of a session called
"mysession". What command, if there is such, can I use to check if the
job is finished or it is still running?
Use either monitor-silence or monitor-activity depending on how the
program && echo -e "\a"
Assuming you use terminal bells.
There's a few more ways, I'm sure.
Thank you, I will look into those two.
Post by Thomas Adam
-- Thomas Adam
Loading...