Commit a026943a authored by 唐香港's avatar 唐香港

Add new file

parent cb7e1580
#!/bin/bash
#set -x
TITLE=$1
DESC=$2
DINGDING=$3
#echo $TITLE, $DESC
function ding() {
# hostname action
curl $DINGDING \
-H 'Content-Type: application/json' \
-d "{
'msgtype': 'markdown',
'markdown': {
'title': \"$TITLE\",
'text': \"## $DESC \n > **`date`**\"
},
'at': {
'atMobiles': ['17864308072'],
'isAtAll': true
}
}"
}
ding
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment