Re: [web2py] Re: sessions2trash.py

2014-02-06 Thread Niphlod
On Thursday, February 6, 2014 5:28:17 AM UTC+1, Jayadevan M wrote: > > Thanks for the reply. Let me provide more info. May be I missed something > very basic. I am replying inline to your/Ricardo's comments. > > > "BTW..you're 10 steps ahead.but you're calling it wrongly :-P" > I gu

Re: [web2py] Re: sessions2trash.py

2014-02-05 Thread Jayadevan M
Thanks for the reply. Let me provide more info. May be I missed something very basic. I am replying inline to your/Ricardo's comments. "BTW..you're 10 steps ahead.but you're calling it wrongly :-P" I guess I am calling it wrongly. Did not get the 10 steps ahead part "the args of th

Re: [web2py] Re: sessions2trash.py

2014-02-05 Thread Niphlod
BTW..you're 10 steps ahead.but you're calling it wrongly :-P the args of the script are -f --> ignores session expiration (deletes either via -x or auth.settings.expiration) -o --> does an execution then exits -s --> sleep (in case -o isn't passed and the script is always "alive") -

Re: [web2py] Re: sessions2trash.py

2014-02-05 Thread Ricardo Pedroso
On Wed, Feb 5, 2014 at 2:15 PM, Jayadevan M wrote: > > open("applications/myapp/sessions", > O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4 > getdents(4, /* 2 entries */, 32768) = 48 > getdents(4, /* 0 entries */, 32768) = 0 > close(4)= 0 > If I'm not wrong