page_check

command module
v0.0.0-...-8edacf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2015 License: MIT Imports: 4 Imported by: 0

README

page_check

This is a small script I used to check if my web page is up and running. It is run in a cron job every 10 minutes.

I use the SendGrid API to mail myself an alert if the page is down. I figured this would be easier than setting up SMTP myself.

If you wish to run the script yourself, here are some instructions.

Install

You must set your SendGrid API key as an environment variable.

export SENDGRID_API_KEY=some_sample_123

Then you can build the binary using go build.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL