the tutorial is 3 years old .... can you please post your scheduler_task record so we see what's going on with that task ?
Thanks! On Tuesday, October 14, 2014 11:20:11 PM UTC+2, Júlia Rizza wrote: > > Well, since I'm following the video tutorial, I was expecting to have the > same return, but nothing is really happening or working. My task does not > run (and yep, I have one task and it is counting 0 taks on log). > > Em terça-feira, 14 de outubro de 2014 16h33min59s UTC-3, Niphlod escreveu: >> >> what are you expecting to see ? Scheduler is running fine. It's meant to >> be an external process in an ever-ending loop waiting for tasks to be >> processed. >> >> On Tuesday, October 14, 2014 6:12:07 PM UTC+2, Júlia Rizza wrote: >>> >>> Ok, now this is the return: >>> starting single-scheduler for "test"... >>> DEBUG:web2py.scheduler.ereshkigal#15083:defining tables (migrate=True) >>> DEBUG:web2py.scheduler.ereshkigal#15083:thread building own DAL object >>> DEBUG:web2py.scheduler.ereshkigal#15083:looping... >>> DEBUG:web2py.scheduler.ereshkigal#15083:defining tables (migrate=False) >>> INFO:web2py.scheduler.ereshkigal#15083:nothing to do >>> DEBUG:web2py.scheduler.ereshkigal#15083:sleeping... >>> DEBUG:web2py.scheduler.ereshkigal#15083: freeing workers that have >>> not sent heartbeat >>> INFO:web2py.scheduler.ereshkigal#15083:TICKER: I'm a ticker >>> DEBUG:web2py.scheduler.ereshkigal#15083:looping... >>> DEBUG:web2py.scheduler.ereshkigal#15083:Assigning tasks... >>> INFO:web2py.scheduler.ereshkigal#15083:TICKER: workers are 1 >>> INFO:web2py.scheduler.ereshkigal#15083:TICKER: tasks are 0 >>> DEBUG:web2py.scheduler.ereshkigal#15083:Tasks assigned... >>> DEBUG:web2py.scheduler.ereshkigal#15083:sleeping... >>> DEBUG:web2py.scheduler.ereshkigal#15083:........recording heartbeat >>> (ACTIVE) >>> . >>> . >>> . >>> DEBUG:web2py.scheduler.ereshkigal#15083:looping... >>> INFO:web2py.scheduler.ereshkigal#15083:nothing to do >>> DEBUG:web2py.scheduler.ereshkigal#15083:sleeping... >>> DEBUG:web2py.scheduler.ereshkigal#15083:........recording heartbeat >>> (ACTIVE) >>> >>> The messages keep repeating and nothing happens, but I don't get the >>> meaning of them. >>> >>> >>> Em terça-feira, 14 de outubro de 2014 10h59min01s UTC-3, Niphlod >>> escreveu: >>>> >>>> use python web2p.py -K test -D 0 to activate the debug logging if you >>>> need more details >>>> >>>> On Tuesday, October 14, 2014 3:29:12 PM UTC+2, Júlia Rizza wrote: >>>>> >>>>> Hey guys :) >>>>> >>>>> I was following this video (http://vimeo.com/27478796) to run the >>>>> scheduler, but whenever I try to run it in my app called *test*: >>>>> python web2py.py -K test >>>>> >>>>> it only returns >>>>> starting single-scheduler for "test"... >>>>> >>>>> and never change or start anything. Not even show an error. I am using >>>>> Ubuntu 14.04 and web2py 2.9.11-stable and sqlite. >>>>> >>>>> Any idea about what is happening? >>>>> >>>>> -- 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.