-
Notifications
You must be signed in to change notification settings - Fork 3
Run on android
Habib Rohman edited this page Feb 11, 2021
·
1 revision
Install termux, termux-api, and termux-boot.
- Start termux app
- Run command
pkg upgrade - Install python
pkg install python - Install telegram-rss
pip install --upgrade telegram-rss - Run
telegram-rssto init config folder - Edit configs inside
telegram-rssfolder - Run
telegram-rss updateto get initial update
Add at least 1 userids or 1 channelids and 1 feed.
- Install termux-api package
pkg install termux-api - Create
telegram-rss.shcontaining
#!/data/data/com.termux/files/usr/bin/sh
telegram-rss update- Change script into executable
chmod +x telegram-rss.sh - Finally add the script to scheduler, run
termux-job-scheduler --job-id 1 -s telegram-rss.sh --persisted true --period-ms 900000You can change job-id to any number Run the script every every period-ms; in miliseconds so 1000 = 1 second; 3600000 = 1 hour; 900000 = 15 minutes.
You can cancel any pending schedule by running
termux-job-scheduler --cancel --job-id 1