command
module
Version:
v0.0.0-...-8edacf9
Opens a new window with list of versions in this module.
Published: May 13, 2015
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.