From b47543d5aa77247ec254ba6dad15f6ab73dfc0e0 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Thu, 28 Oct 2021 16:16:57 +0500 Subject: [PATCH] Updated readme --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c834fc7..fc4e313 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,17 @@ chmod +x telegram-ping-ip.sh screen-telegram-ping-ip.sh cp env.sample .env ``` - Edit the contents of .env to your config (`nano .env`) -### Execute the script +## Running +### Execute the script - Forground ```bash -./telegram-ping-ip.sh +./telegram-ping-ip.sh - Background ``` -### Run the script in a screen +### Run the script in a screen ```bash ./screen-telegram-ping-ip.sh ``` -### Automatically run the script on system boot up -* Add it to a crontab `crontab -e` +### Run at system boot up +* Add it to a crontab, Run: `crontab -e` ``` @reboot /bin/bash /path/to/telegram-ping-ip/screen-telegram-ping-ip.sh ```