Re: [web2py] Re: scheduler_run table remains empty

2015-05-06 Thread Christophe Meessen
onday, May 4, 2015 at 5:56:36 PM UTC+2, Christophe Meessen wrote: I'm using queue_task to execute a task once at a predefined time. The task itself calls queue_task when it finished executing itself to submit it self for a later execution at a predefined time. I'm curre

[web2py] Re: How to set a condition with @auth.requires_login in Web2py

2015-05-04 Thread Christophe Meessen
Yes. Sorry for the delay. Perfect solution. Le dimanche 26 avril 2015 00:47:23 UTC+2, Anthony a écrit : > > Did this solution <http://stackoverflow.com/a/29799597/440323> not work > for you? > > On Saturday, April 25, 2015 at 11:28:10 AM UTC-4, Christophe Meessen wrote: &

[web2py] scheduler_run table remains empty

2015-05-04 Thread Christophe Meessen
I'm using queue_task to execute a task once at a predefined time. The task itself calls queue_task when it finished executing itself to submit it self for a later execution at a predefined time. I'm currently testing it so I call web2p directly with the shell to check output. This all works as

[web2py] How to set a condition with @auth.requires_login in Web2py

2015-04-25 Thread Christophe Meessen
In my web2py web app, the controller function def index(): has the decorator @auth.requires_login(). For development and testing purpose I comment out this decorator. But I often forget to uncomment it before committing the code. I would like to change this decorator into something that would