Skip to content

Instantly share code, notes, and snippets.

@trydofor
Created March 5, 2019 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trydofor/c92339d7942e0a58cef7853132ed2b32 to your computer and use it in GitHub Desktop.
Save trydofor/c92339d7942e0a58cef7853132ed2b32 to your computer and use it in GitHub Desktop.
dingding-notice
# 钉钉提醒
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