Re: [web2py] Re: Session folder size

2015-02-23 Thread Niphlod
BTW, the admin interface "cleanup" process is just something people would hit before packing the app. It just zaps errors, sessions and cache folders. it's not meant to be run on production. @omichiba: perfect. I run such a task weekly in the prod env (10-15 apps, 200 users) and that's more th

Re: [web2py] Re: Session folder size

2015-02-23 Thread Omi Chiba
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 pr

Re: [web2py] Re: Session folder size

2015-02-23 Thread 黄祥
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 ha

Re: [web2py] Re: Session folder size

2015-02-23 Thread António Ramos
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 : > 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.