Created
March 5, 2019 01:32
-
-
Save trydofor/c92339d7942e0a58cef7853132ed2b32 to your computer and use it in GitHub Desktop.
dingding-notice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 钉钉提醒 | |
curl 'https://oapi.dingtalk.com/robot/send?access_token=xxxxx' \ | |
-H 'Content-Type: application/json' \ | |
-d ' | |
{ | |
"msgtype": "text", | |
"text": { | |
"content": "'"$domain"' 将在 '"$expiry_days"' 后过期,务必手动更新证书 " | |
}, | |
"at": { | |
"isAtAll": true | |
} | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment