Skip to content

The main feature that it's so simple, that could be run almost everywhere.

License

Notifications You must be signed in to change notification settings

2naive/simple-php-site-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-php-site-monitor

The main feature that it's so simple, that could be run almost everywhere.

Usage

Add to cron:
*/5 * * * * /usr/bin/php /path/to/simple-php-site-monitor/monitor.php 'mail@domain.com, mail2@domain.com' 'http://webhook1.com/do?text=###message###, http://webhook1.com/do2?text=###message###' >> /path/to/simple-php-site-monitor/cron.log

Params:

  • (0) /path/to/monitor.php
  • (1) (optional) email (comma-separated list)
  • (2) (optional) webhook URL (comma-separated list) with vars: ###message###

About

The main feature that it's so simple, that could be run almost everywhere.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages