Update readme
This commit is contained in:
parent
b47543d5aa
commit
2f605ef796
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user