Skip to content
Snippets Groups Projects
Commit 38732040 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'docker-checks' into 'master'

cronstatus: add NO_COLOR=1 to supress color and emojis

See merge request !256
parents 258af91c ca04c22c
Branches
No related tags found
1 merge request!256cronstatus: add NO_COLOR=1 to supress color and emojis
......@@ -24,13 +24,14 @@
# 2022-02-28 v1.5 <axel.hahn@iml.unibe.ch> fix output of error counter
# 2022-08-23 v2.0 <axel.hahn@iml.unibe.ch> simplify it: use cronstatus.sh (it has exitcode >0 on errors now)
# 2023-07-27 v2.1 <axel.hahn@unibe.ch> update help page
# 2020-09-18 v2.2 <axel.hahn@unibe.ch> replace pipes in systemctl status output
# 2023-09-18 v2.2 <axel.hahn@unibe.ch> replace pipes in systemctl status output
# 2024-04-03 v2.3 <axel.hahn@unibe.ch> add NO_COLOR=1 to supress color and emojis
# ======================================================================
. $( dirname $0 )/inc_pluginfunctions
export self_APPVERSION=2.2
export self_APPVERSION=2.3
statusScript=/opt/cronwrapper/cronstatus.sh
......@@ -85,6 +86,7 @@ if [ ! -x "${statusScript}" ]; then
ph.status Cronjob status - script not found/ not executable: "${statusScript}"
else
export NO_COLOR=1
out=$( $statusScript )
rc=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment