a quick Q: how to start run a job after another job finished

October 06th, 2011 - 11:20 am ET by lina | Report spam

Hi,

I really hesitated for a while to ask this question here.

actually except here, I don't know where else to ask, so forgive me if it's
a bit off-list.

I want it to run a job after checking another job finished or not.

such as another job PID is 5543

so how can I write a script, to check whether this job is finished or not
every 30 mins,

if it's finished

then run newjob.sh

which is another script in script.

Thanks for any suggestions,

Best Regards,

lina


Hi,<br><br>I really hesitated for a while to ask this question here. <br><br>actually except here, I don&#39;t know where else to ask, so forgive me if it&#39;s a bit off-list.<br><br>I want it to run a job after checking another job finished or not.<br>
<br>such as another job PID is 5543<br><br>so how can I write a script, to check whether this job is finished or not every 30 mins, <br><br>if it&#39;s finished <br><br>then run newjob.sh<br><br>which is another script in script.  <br>
<br>Thanks for any suggestions, <br clear="all"><br>-- <br>Best Regards,<br><br>lina<br><br><br>



To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAG9cJmkbfX...A3PHKuvnEQ@mail.gmail.com
email Follow the discussionReplies 4 repliesReplies Make a reply

Replies

#1 Camale
October 06th, 2011 - 11:30 am ET | Report spam
On Thu, 06 Oct 2011 23:12:46 +0800, lina wrote:

I really hesitated for a while to ask this question here.

actually except here, I don't know where else to ask, so forgive me if
it's a bit off-list.

I want it to run a job after checking another job finished or not.



(...)

For this kind of questions, Google is your friend :-)

http://www.google.com/webhp?complet...6e&biw80&bihˆ8

Greetings,

Camaleón


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/

Similar topics