Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Condor-users] Job state DONE ?
- Date: Fri, 3 Dec 2004 10:58:44 -0800
- From: "Oliver Hotz" <oliver@xxxxxxxxxxxx>
- Subject: RE: [Condor-users] Job state DONE ?
Yeah.. sweet.. when you leave it in queue, its jobstate - 4, marked done..
Thank you guys !
Oliver Hotz
Digital Supervisor / Artist
http://www.oliverhotz.com
ICQ: 6174819
AIM: oliverhotz
-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent: Friday, December 03, 2004 10:47 AM
To: Condor-Users Mail List
Subject: RE: [Condor-users] Job state DONE ?
> > Do we currently have a way to set the state of a job to done ?
> >
> > I want the job to stay in the queue when its finished, currently I
> > just do that with the exit_on_hold = true.. but.. it would
> be nice to
> > have an actual DONE state.. is this currently possible ?
>
> Jobs enter the C(ompleted) state when they finish. Usually,
> they leave the queue immediately afterwards, so you rarely
> see jobs in the C state when you do a condor_q. However, you
> can make jobs stay in the queue when they finish with the
> leave_in_queue attribute in your submit file. You specify a
> boolean expression (which can be as simply as 'True') that
> Condor evaluates when the job complets. If it evaluates to
> True, the job is left in the queue. Condor re-evaluates the
> expression periodically thereafter.
If I said:
leave_in_queue = True
The all my completed jobs would show when I did condor_q, but with a
state of "C". Is that statement correct? So I would need to manually
clear the queue when the cluster was complete by running "condor_rm
-const JobStatus==4". Is that correct? This could actually be kind
useful...
- Ian
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
http://lists.cs.wisc.edu/mailman/listinfo/condor-users