PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Aleksandar Vranesevic   PHP Server Status Script   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Server Status Script
Check a status file to determine if a site is down
Author: By
Last change:
Date: 1 year ago
Size: 308 bytes
 

Contents

Class file image Download

How to install

Add cron job:

curl https://(your_website_address)/cronjob/server_uptime.php >/dev/null 2>&1  

Set cron job to be once per minute.

Make sure used directory is writable.

Downtime log will be in used/downtime_log.dat file, open file with any text editor to see logged data.