Changes between Version 3 and Version 4 of doc/install/auth-server

Show
Ignore:
Timestamp:
09/07/06 11:04:58 (14 years ago)
Author:
Pascal Leclerc
Comment:

Ajout du "node down time reporting", réponse de Philippe sur la liste de diffusion

Legend:

Unmodified
Added
Removed
Modified
  • doc/install/auth-server

    v3 v4  
    145145the redirect to dev null is cause cleanup.php moans about $_SERVER not being set, and you'll get an email from cron every 5 minutes about that. 
    146146 
     147=== Node down time reporting === 
     148 
     149This is optional. If you want to enable this fonctionnality you need to call it in a crontab, this way: 
     150{{{ 
     151*/1 * * * * (cd /var/www/wifidog-auth-prod/wifidog/cron/; /usr/local/bin/php -Cq ./page.php 2>/dev/null) 
     152}}} 
     153 
     154That's calling it every minute. I'm sure we could put the path to the   
     155interpreter (/usr/local/bin/php -Cq) at the top of page.php and make   
     156it executable for better clarity, and also skip the "cd" (to fix   
     157that, we'd need to chdir() into the directory to the script at the top   
     158of the program), but such is life, we use it like that for now :) 
     159 
     160In case you don't know what it does, it'll email the technical   
     161officers after 5,10,15,etc. minutes of downtime. The values at which   
     162it'll email are unfortunately hardcoded in the script. 
     163 
    147164---- 
    148165