[isf-wifidog] How can use cron/page.php

Kim Tae Doo taedoo at ninjin-net.net
Ven 8 Sep 01:44:19 EDT 2006

Thanks Philippe.

I execute your way from command line and cron.
But I find Bug in this program.

I put Bug report to trac(Ticket#250).
Please check this.


Philippe April wrote:
> Hi,
> It's been put up pretty quickly, and you're right there's no 
> documentation about it.
> We call it in a crontab, this way:
> */1 * * * * (cd /var/www/wifidog-auth-prod/wifidog/cron/; 
> /usr/local/bin/php -Cq ./page.php 2>/dev/null)
> That's calling it every minute. I'm sure we could put the path to the 
> interpreter (/usr/local/bin/php -Cq) at the top of page.php and make it 
> executable for better clarity, and also skip the "cd" (to fix that, we'd 
> need to chdir() into the directory o the script at the top of the 
> program), but such is life, we use it like that for now :)
> In case you don't know what it does, it'll email the technical officers 
> after 5,10,15,etc. minutes of downtime. The values at which it'll email 
> are unfortunately hardcoded in the script.
> Hope it helps!
> Philippe
> On 5-Sep-06, at 11:22 PM, Kim Tae Doo wrote:
>> Hi everyone.
>> I want use node down time reporting function in cron/page.php .
>> But I don't know How can use this.
>> I found the documentation, but written only cron/cleanup.php
>> I can't find cron/page.php's documentation.
>> Please teach the method of execution.
>> Thanks
>> Kim Tae Doo

Plus d'informations sur la liste de diffusion WiFiDog