are you aware that if your task doesn't return nothing and doesn't go into exception the new scheduler will erase the scheduler_run record ?
On Sunday, October 7, 2012 7:57:52 PM UTC+2, Adi wrote: > > The task executed properly, marked status "COMPLETED" in scheduler_task > table, but didn't insert a record into scheduler_run table. I will create > a new mysql database and let you know if the problem is there... > > > On Sun, Oct 7, 2012 at 2:12 AM, Massimo Di Pierro > <massimo....@gmail.com<javascript:> > > wrote: > >> Can you please check the latest trunk and let us know if the problem has >> gone? >> >> >> On Friday, 5 October 2012 19:39:50 UTC-5, Adi wrote: >>> >>> Yes, new application was using the existing database, so fixing broken >>> migration fixed the problem of not executing task. Now it executed and >>> marked status as COMPLETED. The problem with scheduler_run table stayed the >>> same. Status: FAILED, and traceback looks as bellow: >>> >>> Traceback (most recent call last): >>> File "/Users/adnan/web2py209/gluon/**scheduler.py", line 203, in >>> executor >>> _env = env(a=a,c=c,import_models=**True) >>> File "/Users/adnan/web2py209/gluon/**shell.py", line 134, in env >>> sys.exit(1) >>> SystemExit: 1 >>> >>> >>> >>> On Friday, October 5, 2012 6:59:04 PM UTC-4, Niphlod wrote: >>>> >>>> ok, the problems seems to be related to migrate, migrate_enabled and >>>> fake_migrate_all. Can you try removing those from the db connection just >>>> to >>>> try it out ? >>>> >>> -- >> >> >> >> > > > --