Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 575 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 575 Bytes

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 '[email protected], [email protected]' '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###