Werk #15602: mk-job: Cleanup after execution was interrupted
|Component||Checks & agents|
|Title||mk-job: Cleanup after execution was interrupted|
|Date||Apr 5, 2023|
|Checkmk Edition||Checkmk Raw (CRE)|
|Checkmk Version||2.3.0b1 2.2.0b3 2.1.0p26 2.0.0p35|
|Compatibility||Compatible - no manual interaction needed|
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.