Yes, I know it's available on admin but trying to automate the process. I'm running web2py on windows so it sounds like I can create a .bat file to run the sessions2trash.py command.
On Monday, February 23, 2015 at 7:28:13 AM UTC-6, 黄祥 wrote: > > i think web2py admin already have it when you press the clean on admin > interface it said : > cache, errors and sessions cleaned > > best regards, > stifan > > On Monday, February 23, 2015 at 4:50:44 PM UTC+7, Ramos wrote: >> >> there should be an admin button to clean that session garbage, as we >> already have to clean errors. >> >> 2015-02-23 9:33 GMT+00:00 Annet <anne...@googlemail.com>: >> >>> Hi, >>> >>> I had an issue with the sessions2trash.py file which Niphlod fixed last >>> week. >>> The sessions2trash.py script posted here works: >>> >>> https://www.dropbox.com/s/4080g390sa5byw6/sessions2trash.py?dl=0 >>> >>> >>> Kind regards, >>> >>> Annet >>> >>> -- >>> 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+un...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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.