but folders not deleted (( I make .bat file for WIN ======================= set sleep=7200 set /a sleep3=%sleep%/3
:rep c:\python27\python ..\..\web2py.py -S ipay -M -R scripts/sessions2trash.py -A -o -x %sleep% -f -v timeout /t %sleep3% rem restart walets if it crash rem start "reload wallets" "..\wallets--spay\!!start_wallets.cmd" reload goto rep ====================== вторник, 25 ноября 2014 г., 15:37:36 UTC+3 пользователь Anthony написал: > > > http://web2py.com/books/default/chapter/29/13/deployment-recipes#Cleaning-up-sessions > > On Tuesday, November 25, 2014 6:10:17 AM UTC-5, Robin Manoli wrote: >> >> Hi! >> >> I noticed that when I'm working alone on a project, the session folder >> creates quite a lot of sessions. I wonder if web2py deletes expired >> automatically? Or is there a way to delete them? It wouldn't be so nice to >> have expired sessions of thousands of users when the site is in production >> mode, would it? >> >> Thanks for your time, >> - Robin >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

