-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
`siteup` takes an arbitrary site presumed to be down and checks on it every five minutes until it can gladly report the site is back up. As is, it notifies [Growl](http://growl.info/) upon success. | ||
|
||
I'm sure the effect of this script is better accomplished with other software, but I wrote this to practice my scripting. | ||
|
||
## Notes ## | ||
|
||
- the site to check can be given in `stdin` ... or else it asks for it | ||
- change the interval variable if you don't like 5 minutes | ||
- sorry if the colors look stupid or the shell escaping of them doesn't work |