folders do not create a "performance" issue on ntfs. if you want to keep it 
clean for aestethical reasons, do it with another step in your batch...

On Sunday, November 30, 2014 8:23:50 AM UTC+1, Dmitry Ermolaev wrote:
>
> 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%
>
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to