Shell Script to send messages to Telegram using BOT
To configure your bot, RTFM:
https://core.telegram.org/bots
git clone https://github.com/area31/Telegram-api-msg-bot.git
mv Telegram-api-msg-bot /opt
DEBUG="0" KEY="KEY HERE" MSG_FILE="/opt/Telegram-api-msg-bot/msg.txt"
- To debug, set 1 on $DEBUG
Time | MSG
Example:
22:40|Hora de dormir 4:20|virjes everywhere
* * * * * root /opt/Telegram-api-msg-bot/send-msg-telegram msg