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

[Condor-users] Getting the output / error log


I'd like to get the output of a currently running job using a script. The quick hacky solution I used was to query where the job runs using condor_q, find the temporal output directory and read the log files directly. When the computer has multiple processors I compare the temporal working directories' date to the job start date to find the closest one but it tends to fail when both jobs start at exacly the same second.

Is there a simple solution or neat trick to get the output/error log of a specified job?