[modify] move useless scripts to old dir
This commit is contained in:
16
old/sendmsg.sh
Normal file
16
old/sendmsg.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
alarm="$1"
|
||||
|
||||
curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=ddea3f5f-fbfc-4c21-994a-71e9fc50e4ef' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '
|
||||
{
|
||||
"msgtype": "text",
|
||||
"text": {
|
||||
"content": "'"$alarm"'"
|
||||
}
|
||||
}' > /dev/null 2>&1
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user