Postgresql
On 7 November 2013 15:16, Niphlod <[email protected]> wrote: > what db are you using ? > > > On Thursday, November 7, 2013 12:07:40 PM UTC+1, Johann Spies wrote: >> >> It was a year ago that I have tried for 4 days to get the scheduler >> working. In the end I gave up and decided to use the operating systems's >> cron to handle scheduled jobs. >> >> I am trying again and so far I have no success. >> >> Running web2py with D0 I get the message >> >> DEBUG:web2py.scheduler.artikel#29645:sleeping... >> DEBUG:web2py.scheduler.artikel#29645:........recording heartbeat (ACTIVE) >> DEBUG:web2py.scheduler.artikel#29645: freeing workers that have not >> sent heartbeat >> ERROR:web2py.scheduler.artikel#29645:Error cleaning up >> DEBUG:web2py.scheduler.artikel#29645:looping... >> INFO:web2py.scheduler.artikel#29645:nothing to do >> >> >> My scheduler is simple: >> >> # -*- coding: utf-8 -*- >> >> from gluon.scheduler import Scheduler >> scheduler = Scheduler(db) >> >> And in the scheduler_tasks table I have: >> scheduler_task.id<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.id> >> scheduler_task.application_name<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.application_name> >> scheduler_task.task_name<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.task_name> >> scheduler_task.group_name<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.group_name> >> scheduler_task.status<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.status> >> scheduler_task.function_name<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.function_name> >> scheduler_task.uuid<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.uuid> >> scheduler_task.args<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.args> >> scheduler_task.vars<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.vars> >> scheduler_task.enabled<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.enabled> >> scheduler_task.start_time<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.start_time> >> scheduler_task.next_run_time<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.next_run_time> >> scheduler_task.stop_time<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.stop_time> >> scheduler_task.repeats<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.repeats> >> scheduler_task.retry_failed<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.retry_failed> >> scheduler_task.period<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.period> >> scheduler_task.timeout<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.timeout> >> scheduler_task.sync_output<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.sync_output> >> scheduler_task.times_run<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.times_run> >> scheduler_task.times_failed<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.times_failed> >> scheduler_task.last_run_time<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.last_run_time> >> scheduler_task.assigned_worker_name<http://localhost:8000/nkb/appadmin/select/db?orderby=scheduler_task.assigned_worker_name> >> 45 <http://localhost:8000/nkb/appadmin/update/db/scheduler_task/45> >> nkb/isiherboumainQUEUEDherbou15dc16e59-9e30...[]{}True2013-11-07 >> 12:40:552013-11-07 >> 12:40:55None12 60060000None >> >> with the starting time in the past. >> >> herbou1 is a function in my isi-controller. >> >> >> I am not sure what I am supposed to do to get this workinig. >> >> Regards >> Johann >> > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

