Thanks very much for your reply.

On Aug 31, 12:18 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> On Aug 30, 3:47 am, Andrew <awillima...@gmail.com> wrote:
>
> > Hi Massimo,
> > I watched your video tutorial on thescheduler.  Very helpful and
> > thanks for a great job.  I haven't quite got your example working, but
> > I haven't yet spent the time to investigate.
>
> > If I understand correctly, the full functioningschedulerwith task
> > dependencies will be coming as some sort of interface to Celery,
> > correct ?
>
> Not quite. There are two schedulers (different and incompatible):
> - gluon.scheduler.py (in the video)
> - web2py-celery
> They can both run the same functions but they use different db models.
>
> > In your example, you built some functions in the Model.  Can you
> > please clarify where is the correct place to put such batch style
> > scripts - in the model or controller.  One could argue that they don't
> > quite fit into either, (neither data or logic for a view) but I'm not
> > very experienced with the MVC architecture.   On a similar note, when
> > building functions called by other functions, are there any guidelines
> > for where they go.  I don't think there were any examples in the book.
>
> I would put them into modules in a file called, for example, tasks.py.
> I will post more examples.
>
>
>
> > Much thanks
> > Andrew

Reply via email to