PHP Classes

File: cronjob/configuration.php

Recommend this page to a friend!
  Classes of Aleksandar Vranesevic   PHP Server Status Script   cronjob/configuration.php   Download  
File: cronjob/configuration.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
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: 315 bytes
 

Contents

Class file image Download
<?php
// Value bigger then this will be logged, if downtime is this value or more then save in log file
$minutes = 1;

// How much seconds to tolerate
$tolerate_time = 2;

// Where to log time of last check
$check_file = '../used/uptime_check.dat';

// Where to log downtime
$check_log = '../used/downtime_log.dat';