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.
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!
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx
You can also unsubscribe by visitinghttps://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at: