<div>Brilliant, thanks mate !</div>
<div> </div>
<div>So am I to understand that by simply setting that option to false in config.php all my worries are over !!</div>
<div><br>Thanks Again </div>
<div><br>Chris ;-)<br><br> </div>
<div><span class="gmail_quote">On 13/02/06, <b class="gmail_sendername">Rob Janes</b> <<a href="mailto:janes.rob@gmail.com">janes.rob@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">either set CONF_USE_CRON_FOR_DB_CLEANUP to false in your config.php, or<br>put this one line script in /etc/cron.hourly
<br><br>cd <wifidog-auth base directory where config.php is> && su apache -c<br>'php -f cron/cleanup.php'<br><br>or, in crontab<br>0,5,10,15,20,25,30,35,40,45,50,55 * * * * cd <wifidog-auth base dir<br>where
config.php is> && su apache -c 'php -f cron/cleanup.php' ><br>/dev/null 2>&1<br><br>or, depending on your cron..<br>0,5,10,15,20,25,30,35,40,45,50,55 * * * * apache cd <wifidog-auth base<br>dir where
config.php is> && php -f cron/cleanup.php > /dev/null 2>&1<br><br>you may have to edit this line in cron/cleanup.php from<br>require_once('../include/common.php');<br>(that errors for me)<br>to<br>require_once(dirname(__FILE__).'/../include/common.php');
<br><br>door number one is definitely the easier one, but i don't like it that<br>every user query that comes in runs cleanup.<br><br>the redirect to dev null is cause cleanup.php moans about $_SERVER not<br>being set, and you'll get an email from cron every 5 minutes about that.
<br><br>-rob<br><br>Chris Rowson wrote:<br><br>> I also suffered from the users still logged in problem, and would love<br>> to know how to solve it!<br>><br>> Any help anyone ;-)<br>><br>> Chris<br>>
<br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________<br>>WiFiDog mailing list<br>><a href="mailto:WiFiDog@listes.ilesansfil.org">
WiFiDog@listes.ilesansfil.org</a><br>><a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br>><br><br>_______________________________________________
<br>WiFiDog mailing list<br><a href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a><br><a href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
</a><br></blockquote></div><br>