[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] time since job was created
- Date: Tue, 10 Mar 2015 13:12:13 -0500
- From: Zachary Miller <zmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] time since job was created
On Tue, Mar 10, 2015 at 12:51:00PM -0500, Dimitri Maziuk wrote:
> Hi all,
> quick (hopefully) question: I submit a dag with 132K nodes @ 03/04/15
> 11:53:38, I have one node still "queued" @ 03/10/15 12:33:10, how do I
> get the timediff for periodic_remove?
This should do the trick:
periodic_remove = (time() - QDate) > 604800
You could do that for each individual job, or you could do it for the
condor_dagman itself using the -append option on the command line. If
you remove the dag, it will remove all the jobs it manages.