Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #7512: Set correct bash environment for cronjobs

Component Site management
Title Set correct bash environment for cronjobs
Date Apr 15, 2016
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.7i3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

There were certain scenarios were the .profile file was not loaded for crontabs. This fix always sets these environment variables for the crontabs SHELL=/bin/bash BASH_ENV=$OMD_ROOT/.profile

To the list of all Werks