Simple Telegram message sender written in Bash
You need only Telegram api-key, curl & crontab rules.
jq
is used only for debug purposes, you may remove it safely.
git clone --recursive https://github.com/jfoboss/telegram-cron-shepherd
- Create Bot: https://core.telegram.org/bots#6-botfather
- Put API key to
BOT_ID
variable - Enable bot in Telegram & add it to necessary chat
- Gather chat ID using
https://api.telegram.org/bot<your_bot_id>/getUpdates
- Put chat id to
CHATID
variable
- Create necessary CRON rules with messages
- Profit!