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

[HTCondor-users] python api about history

Hi all,
    I used python api to get job history information then insert job information into database.
       The function is htcondor.Schedd.history().
    But when the amount of the history files in "/var/lib/condor/spool/" became large,
    htcondor.Schedd.history() will be executed slowly.
    I want to gain the job history information every half hour. So I just need to look over the history file generated last half hour.
    But the htcondor.Schedd.history() may look over all history files in "/var/lib/condor/spool" every time.
    I can not find  the parameter from htcondor.Schedd.history() like "condor_history -file".
    Are there some ways to solve it?
    Thanks for help.

Best regards,
Jiang XiaoWei

NAME:Jiang Xiaowei
TEL:010 8823 6024
DEPARTMENT:Computing Center of IHEP