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

Re: [HTCondor-users] File last modification time or job last write() attribute?



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 last file write to those files.

Scalability would have me concerned but perhaps you could register an inotify watcher in the user_job_wrapper and have a condor_chirp call as part of the inotify callback.

Cheers, Iain

On May 25, 2016, at 19:25, Michael V Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx> wrote:

Hi folks,

I was wondering if anyone is aware of any job or slot attribute that could be used to determine the last time a job wrote to the output, error, log, or maybe even an arbitrary file? I'm thinking I'd have to do something with a simple job status hook, but if there's an easier way I'd appreciate any suggestions. Needless to say, this would be useful for hung-job detection to trigger a periodic hold/release restart or some other action. Thanks!

        -Michael Pelletier.
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

Attachment: smime.p7s
Description: S/MIME cryptographic signature