Skip to content

Commit

Permalink
actually get history
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 19, 2024
1 parent 1d0d998 commit 6c01821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceprod/server/plugins/condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def get_history(self, since=None) -> {CondorJobId: CondorJob}:
Get all jobs currently on the condor history.
"""
ret = {}
for ad in self.condor_schedd.query(
for ad in self.condor_schedd.history(
constraint=f'IceProdSite =?= "{self.cfg["queue"].get("site", "unknown")}"',
projection=['ClusterId', 'ProcId'] + self.AD_PROJECTION_HISTORY,
since=f'CompletionDate<{since}' if since else None,
Expand Down

0 comments on commit 6c01821

Please sign in to comment.