[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] File last modification time or job last write() attribute?
- Date: Wed, 25 May 2016 13:58:32 -0400
- From: Michael V Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] File last modification time or job last write() attribute?
From: Iain Bradford Steers <iain.steers@xxxxxxx>
Date: 05/25/2016 01:37 PM
> Hi Michael,
> Iâm not aware of an existing classad attr that gives that information.
> In theory condor_chirp could be used to update a timestamp of the
> file write to those files.
> Scalability would have me concerned but perhaps you could register
> inotify watcher in the user_job_wrapper and have a condor_chirp call
> part of the inotify callback.
> Cheers, Iain
The inotify idea is interesting, though I would definitely
challenges with that approach. Wouldn't want to chirp
on every write, that's
for sure. The 5-minute interval of the update_job_info
like it would address scalability concerns but still
granularity to make the data useful in expressions.
But being able to do
it without occupying the HookKeyword would be handy
Thanks for the suggestion!