Login   Register  
PHP Classes
elePHPant
Icontem

File: php_error_log.crontab

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Log watcher  >  php_error_log.crontab  >  Download  
File: php_error_log.crontab
Role: Auxiliary data
Content type: text/plain
Description: Example of crontab line to execute the example log script to watch the PHP error log
Class: Log watcher
Watch a log file and e-mail newly added lines
Author: By
Last change:
Date: 10 years ago
Size: 153 bytes
 

Contents

Class file image Download
# Make cron execute the log watching script every 5 minutes,
# starting at minute 3 of every hour

3-59/5 * * * * /path/to/php -q test_log_watcher.php