diff --git a/jobhelper.sh b/jobhelper.sh index 02271ef1b026e8a192549cbcbd477178dc3dfe00..02519c458938d0e9be33385cf8954192f8930c86 100755 --- a/jobhelper.sh +++ b/jobhelper.sh @@ -14,6 +14,7 @@ # 2018-02-13 ah,ds v1.3 detect samba shares based on a flag # 2022-10-07 ah v1.4 unescape regex with space to prevent "grep: warning: stray \ before white space" # 2023-03-17 ah v1.5 ignore required user on MS windows; source jobs/env if it exists; use varaiable FQDN +# 2023-04-12 ah v1.6 add desktop notification # ================================================================================ @@ -430,7 +431,7 @@ function _getFqdn(){ # paran integer optional: exitcode; if set it adds a prefix OK or ERRROR on summary and sets urgency on error function j_notify(){ local _summary="IML BACKUP :: $1" - local _body="$2" + local _body="$( date +%H:%M:%S ) $2" local _rc="$3" local _urgency="normal"