Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Way to check for termination of jobs.
- Date: Fri, 3 Mar 2006 12:36:01 +0800
- From: "Sameer Bahl" <sameer.bahl@xxxxxxxxx>
- Subject: Re: [Condor-users] Way to check for termination of jobs.
Thanks Jaime and Peter.
I am polling condor_q and checking the log file as you mentioned.
Sameer
On 3/3/06, Jaime Frey <jfrey@xxxxxxxxxxx> wrote:
On Mar 2, 2006, at 12:17 AM, Sameer Bahl wrote:
> I am currently submitting jobs to a windows based condor pool in a
> c language program. I want the function submitting the jobs in the
> program to return only when the jobs have finshed executing. I
> havent been able to do so. At the moment the function returns as
> soon as the jobs have been submitted to the pool. Is there a way to
> check if the jobs submitted by a particular user have finished
> executing so that i can make the function to wait until then.
Here are a few ways your function can determine the job's status:
* Call condor_q periodically.
* Set 'log' in the submit file and read the resulting user log.
* Use condor_run.
+--------------------------------+-----------------------------------+
| Jaime Frey | I used to be a heavy gambler. |
| jfrey@xxxxxxxxxxx | But now I just make mental bets. |
|
http://www.cs.wisc.edu/~jfrey/ | That's how I lost my mind. |
+--------------------------------+-----------------------------------+
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users