Werk #15602: mk-job: Cleanup after execution was interrupted
Component | Checks & agents | ||||||||||
Title | mk-job: Cleanup after execution was interrupted | ||||||||||
Date | Apr 5, 2023 | ||||||||||
Level | Trivial Change | ||||||||||
Class | Bug Fix | ||||||||||
Compatibility | Compatible - no manual interaction needed | ||||||||||
Checkmk versions & editions |
|
Previously, if the wrapper program mk-job was interrupted by a reboot, the Job service would continue to show the job, which was started by mk-job. This job was shown to be running despite it being terminated by the reboot. This can be fixed by removing the corresponding file created by mk-job. With this werk, mk-job cleans up the file after being interrupted. Thus, these terminated jobs will no longer be shown as running.