Skip to content

🔔 Checks the status of a list of sites and inform you by email if there is a connection problem with any.

License

Notifications You must be signed in to change notification settings

hellopath/site-status-snitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Site Status Snitcher

Checks the status of a list of sites and inform you by email if there is a connection problem with any.

Usage

var snitcherCheck = require('../')

var sites = [
	'http://google.com',
	'http://amazon.com',
	'http://facebook.com'
]

// Also you can use it without the email notification.
var props = {
	'sites': sites,
	'email-notification': {
		'transport': 'smtps://user%40gmail.com:password@smtp.gmail.com',
		'from': 'user@gmail.com',
		'to': ['user1@gmail.com', 'user2@gmail.com'],
		'subject': '[PERSONAL AUTO MESSAGE][ISSUE]',
		'text': 'There is an issue with a site!!! See below the error.'
	}
}

snitcherCheck(props)

About

🔔 Checks the status of a list of sites and inform you by email if there is a connection problem with any.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published