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
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-usersThe archives can be found at: https://lists.cs.wisc.edu/archive/htcondor-users/
|