[web2py] How to schedule a task to run at the same time every day

2014-02-21 Thread John Felps
I have a daily task, scheduled for midnight, with a repeat of 0 and a period of 86400 that has been running daily for about a month, but over time it has drifted so that it starts at nearly 4 am. How do I just tell the task to always start at midnight? -- Resources: - http://web2py.com -

[web2py] Re: How to schedule a task to run at the same time every day

2014-02-21 Thread John Felps
://web2py.com/books/default/chapter/29/04/the-core#Scheduler. Anthony On Friday, February 21, 2014 9:54:09 AM UTC-5, John Felps wrote: I have a daily task, scheduled for midnight, with a repeat of 0 and a period of 86400 that has been running daily for about a month, but over time it has drifted

[web2py] Re: How to schedule a task to run at the same time every day

2014-02-21 Thread John Felps
Can I use it on the page appadmin/insert/db/scheduler_task? If so, where does it go? There are no fields called trunk On Friday, February 21, 2014 8:47:15 AM UTC-7, Niphlod wrote: it's a parameter (available in trunk), not an argument. On Friday, February 21, 2014 4:29:35 PM UTC+1, John Felps

[web2py] Re: How to schedule a task to run at the same time every day

2014-02-21 Thread John Felps
check out web2py from google code or github if you'd like to use it now - keeping in mind that you'll be using a devel version that might include some less tested code, of course. Regards On Friday, February 21, 2014 4:54:12 PM UTC+1, John Felps wrote: Can I use it on the page appadmin

[web2py] Re: comma in html filename causing invalid request

2013-11-13 Thread John Felps
Novembro de 2013 15:29:34 UTC, John Felps escreveu: I have edited routes.parametric.example.py and saved as web2py/routes.py with the default application as myapp. I have some html files in static that now can be accessed as http://ip/myapp/static/dir/test.html or http://ip/static/dir

Re: [web2py] Re: comma in html filename causing invalid request

2013-11-13 Thread John Felps
remember the old not written rules... You do what you want... On Tue, Nov 12, 2013 at 9:34 AM, John Felps john.sc...@gmail.comjavascript: wrote: Why? RFC 1738 states Thus, only alphanumerics, the special characters $-_.+!*'(),, and reserved characters used for their reserved purposes may

[web2py] comma in html filename causing invalid request

2013-11-11 Thread John Felps
I have edited routes.parametric.example.py and saved as web2py/routes.py with the default application as myapp. I have some html files in static that now can be accessed as http://ip/myapp/static/dir/test.html or http://ip/static/dir/test.html however, a couple of files have commas in the

[web2py] Re: SQLFORM with multiple buttons how to differentiate

2013-10-31 Thread John Felps
OK, thanks. I found a workaround; by naming each button differently and instead of checking the value, just check for name in request.vars. On Wednesday, October 30, 2013 6:30:53 PM UTC-6, John Felps wrote: I have an sqlform that populates from a db and has several submit buttons named test

[web2py] Why is button value always set to working... in request.args

2013-10-30 Thread John Felps
I have an SQLFORM that populates from a database and that has buttons set to buttons = [TAG.button('1', _name='test'), TAG.button('2', _name='test'), TAG.button('3', _name='test'), TAG.button('4', _name='test')] and when I look at the

[web2py] SQLFORM with multiple buttons how to differentiate

2013-10-30 Thread John Felps
I have an sqlform that populates from a db and has several submit buttons named test with different _values (and appear with different names on the screen). In PHP, the post['test'] would be equal to the button value, however, request.vars includes test, but it is always Working... on