Skip to content

xahy/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

BashScripts for some simple tasks

This script checks if the site is live or not. I use this to check for Maldives ebanking website mostly for obvious reasons 😒

To run this file, run ./checksite.sh in the dir

Also if you want run this at particular set of intervals, add it your crontab. run crontab -e and add the line below. Make sure to change the path of the file to match yours.

*/2 * * * * cd /Users/xahy/myscripts && ./checksite.sh

You can tweak the time intervals of the job execution. Now the job will run that file every 2 mins. Read more about crontabs here

You can clone it and do whatever you want with it. Peace 🙌🏼

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages