Skip to content

Commit

Permalink
Reload klever scheduler after runner
Browse files Browse the repository at this point in the history
  • Loading branch information
vmordan committed Oct 16, 2023
1 parent c76be32 commit 5e13ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def bridge(self, new_job_id: str):
if self.jobs_dir:
self.logger.info("Clear job files")
shutil.rmtree(os.path.join(self.jobs_dir, new_job_id), ignore_errors=True)
self.command_caller("service klever-native-scheduler restart")

def run(self):
"""
Expand Down

0 comments on commit 5e13ee9

Please sign in to comment.