Update readme

This commit is contained in:
Shihaam Abdul Rahman 2021-10-28 16:18:56 +05:00 committed by GitHub
parent b47543d5aa
commit 2f605ef796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,17 +17,18 @@ cp env.sample .env
## Running ## Running
### Execute the script - Forground ### Execute the script - Forground
```bash ```bash
./telegram-ping-ip.sh - Background ./telegram-ping-ip.sh
``` ```
### Run the script in a screen ### Run the script in a screen - Background
```bash ```bash
./screen-telegram-ping-ip.sh ./screen-telegram-ping-ip.sh
``` ```
### Run at system boot up ### Run at system boot up
* Add it to a crontab, Run: `crontab -e` * Add the following like to crontab, Run: `crontab -e`
``` ```
@reboot /bin/bash /path/to/telegram-ping-ip/screen-telegram-ping-ip.sh @reboot /bin/bash /path/to/telegram-ping-ip/screen-telegram-ping-ip.sh
``` ```
## Future plans ## Future plans
* create a daemon, idk, it seems interesting * create a daemon, idk, it seems interesting