- Install dependencies
$ sudo apt install tmate
Start by cloning this repo.
-
Create telegram_bot using Bot Father
Guide -
Get your chatID. Use this bot
-
Edit
tmateSender.sh
edit token, chatID and network interface.
...
18 TOKEN= your-telegram-bot-token
19 CHAT_ID= chat-id
...
23 INTF= main-interface
...
- Add script to cron to start at reboot
@reboot ~/path/tmateSender.sh
- Change greeting
- Use systemd than cron job
- script explanation
- Write usecase