I'd say you're loosing yourself in a glass of water. In order to schedule 
something, that something must work. If your "something" doesn't, it really 
doesn't matter what tool are you issuing commands to.

On Friday, October 2, 2015 at 11:56:55 AM UTC+2, Stefan van den Eertwegh 
wrote:
>
> Hi Niphlod,
>
> Thanks for you answer.
>
> Why i am asking this is because i want to generate around 150 pdf's by 
> weasyprint and per each pdf i want to queue a mail with it as an attachment.
> Could this be done by the build in web2py Scheduler?
>
> PS: i tried the scheduler, but it tries to use the generic.html view but 
> has not enough settings provided in the layout.html to use it, it fails.
> is is not so that it executes the function from the model with database 
> privileges and not uses a view? Or is it also using the default generic 
> view?
>
> Thanks for responding!
>
> Best regards,
> Stefan
>
> Op vrijdag 2 oktober 2015 11:21:07 UTC+2 schreef Niphlod:
>>
>> you won't ever get to start workers from web2py, either with the embedded 
>> scheduler, with rq or with celery.........that's pretty much a requirement 
>> (being completely separated)
>>
>> PS: celery integration was done on a so old release of celery that it 
>> won't ever be production ready
>>
>> PS2: you don't need any web2py plugin to push task to celery.
>>
>>
>>

-- 
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/d/optout.

Reply via email to