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

add date in notification body

parent 5c841e09
No related branches found
No related tags found
1 merge request!101Desktop notification
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment