[isf-wifidog] Auth server not regsitering logged out users?

Rob Janes janes.rob at gmail.com
Mar 14 Fév 03:37:49 EST 2006


you betcha (yes)!

Chris Rowson wrote:

> Brilliant, thanks mate !
>  
> So am I to understand that by simply setting that option to false in 
> config.php all my worries are over !!
>
> Thanks Again
>
> Chris ;-)
>
>  
> On 13/02/06, *Rob Janes* <janes.rob at gmail.com 
> <mailto:janes.rob at gmail.com>> wrote:
>
>     either set CONF_USE_CRON_FOR_DB_CLEANUP to false in your
>     config.php, or
>     put this one line script in /etc/cron.hourly
>
>     cd <wifidog-auth base directory where config.php is> && su apache -c
>     'php -f cron/cleanup.php'
>
>     or, in crontab
>     0,5,10,15,20,25,30,35,40,45,50,55 * * * * cd <wifidog-auth base dir
>     where config.php is> && su apache -c 'php -f cron/cleanup.php' >
>     /dev/null 2>&1
>
>     or, depending on your cron..
>     0,5,10,15,20,25,30,35,40,45,50,55 * * * * apache cd <wifidog-auth base
>     dir where config.php is> && php -f cron/cleanup.php > /dev/null 2>&1
>
>     you may have to edit this line in cron/cleanup.php from
>     require_once('../include/common.php');
>     (that errors for me)
>     to
>     require_once(dirname(__FILE__).'/../include/common.php');
>
>     door number one is definitely the easier one, but i don't like it that
>     every user query that comes in runs cleanup.
>
>     the 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.
>
>     -rob
>
>     Chris Rowson wrote:
>
>     > I also suffered from the users still logged in problem, and
>     would love
>     > to know how to solve it!
>     >
>     > Any help anyone ;-)
>     >
>     > Chris
>     >
>     >
>     >------------------------------------------------------------------------
>     >
>     >_______________________________________________
>     >WiFiDog mailing list
>     > WiFiDog at listes.ilesansfil.org <mailto:WiFiDog at listes.ilesansfil.org>
>     >http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>     >
>
>     _______________________________________________
>     WiFiDog mailing list
>     WiFiDog at listes.ilesansfil.org <mailto:WiFiDog at listes.ilesansfil.org>
>     http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>     <http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>WiFiDog mailing list
>WiFiDog at listes.ilesansfil.org
>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>



More information about the WiFiDog mailing list