Skip to content
Snippets Groups Projects
Commit e58c094a authored by Josef Němec's avatar Josef Němec
Browse files

Cron jobs are configurable from env

parent fa688210
Branches
Tags
1 merge request!10Cron jobs are configurable from env
......@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.3.3] - 2023-10-25
### Fixed
- Env (vars) are made accessible to cronjobs
## [1.3.2] - 2023-09-05
### Fixed
- diskmon: change metric format
......
......@@ -44,5 +44,8 @@ awk '{$1=" ";print}' "${CMG_BASE_DIR}/custom-metrics-generator.conf.env"
tail -F --max-unchanged-stats=10 ${CMG_STDOUT_LOG} &
tail -F --max-unchanged-stats=10 ${CMG_STDERR_LOG} 1>&2 &
# Make env accessible to cron jobs (enables cron job config)
env >> /etc/environment
# schedule periodic actions with cron
exec crond -n
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment