[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] set the state of a job to completed

On Aug 12, 2005, at 10:16 AM, Horvatth Szabolcs wrote:

Two possibilities:
* Put the jobs on hold.

The DAG that submits the jobs never completes if the jobs are on hold. I would like to
simply skip the processing of a job.

* Set LeaveJobInQueue=True and remove the jobs

I'd like to keep the job in the queue to be able to query data from it later (run time, bound host, stuff like this, dag parent).
I know I could parse the log, but at the moment I query it directly from the job.

Setting LeaveJobInQueue to True will keep the job in the queue (until it's set to false). Also, you can use condor_history to look at jobs that have left the queue.

It sounds like what you really want is to modify the DAG as it executes (to remove these queued nodes). DAGMan doesn't support this.

If you want to get *really* kludgey, you could use condor_qedit to change the job universe to scheduler and the executable to /bin/true. I can't think of anything better.

|            Jaime Frey            |  Public Split on Whether        |
|        jfrey@xxxxxxxxxxx         |  Bush Is a Divider              |
|  http://www.cs.wisc.edu/~jfrey/  |         -- CNN Scrolling Banner |