Skip to content

Commit

Permalink
catch both old and new submit dir formats
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 19, 2024
1 parent 5b1c2bf commit 3023887
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 @@ -855,7 +855,7 @@ async def check_submit_dir(self):
dir_old_time = now - (queued_time + processing_time + suspend_time)
logger.debug('now: %r, job_old_time: %r, dir_old_time: %r', now, job_old_time, dir_old_time)

for daydir in self.submit_dir.glob('[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]'):
for daydir in self.submit_dir.glob('[0-9][0-9][0-9][0-9]*'):
logger.debug('looking at daydir %s', daydir)
if daydir.is_dir():
empty = True
Expand Down

0 comments on commit 3023887

Please sign in to comment.