Werk #15130: Only execute PDF cleanup cronjob if PDF tmp directory exists

Component User interface
Title Only execute PDF cleanup cronjob if PDF tmp directory exists
Date Feb 28, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If no PDF tmp files were created before the cronjob introduced in werk #15125 was executed, the directory was missing and the cronjob had an output like "No such file or directory". The cronjob is now only executed if the directory "~/tmp/check_mk/pdf" exists.

To the list of all Werks