Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
234 B
1
Indexable
Never
#!/bin/bash

TOKEN=6954503896:AAFvGD2YhyiiwQHXici1AoKSQpkP_W7L82E
CHAT_ID=175301806
MESSAGE="DONE"
URL="https://api.telegram.org/bot$TOKEN/sendMessage"

chmod g+r /var/log/*

curl -s -X POST $URL -d chat_id=$CHAT_ID -d text="$MESSAGE"
Leave a Comment