Thanks Niphlod .. 1. yes - a 'controller function" scheduled as a task. 2. routines are in controllers, rather than modules. (some calculations/ transforms may change regularly)
On Sunday, 5 May 2013 00:25:30 UTC+10, Niphlod wrote: > > I'm not sure I understood your requirements... how can a "controller" > function can be scheduled as a task? > On the last comma you talk about extensive routines: aren't they in a > module ? > > On Saturday, May 4, 2013 4:12:21 PM UTC+2, Simon Ashley wrote: >> >> Have a query on the scheduler and whether functions need to be defined >> inside a model or can be offload to a controller? >> >> (have seen a passing comment by Niphlod - which I can no longer find - >> that it may not be the case with ComfortScheduler but haven't been able to >> confirm it or worked out how to do it). >> >> Have a job that requires extensive parsing and file transformations. For >> performance reasons wouldn't like these extensive routines (estimated at 4 >> -5k lines) being loaded each time a task is fetched. >> >> TIA >> > -- --- 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/groups/opt_out.