Ops!, ok Niphold, then I'm going to use their task queue :))
Thanks for the help! 


On Monday, June 3, 2013 9:12:14 PM UTC+2, Niphlod wrote:
>
> ehmm...... scheduler is NOT meant to be run on GAE. They have task queue 
> for that.
>
> On Monday, June 3, 2013 7:59:45 PM UTC+2, José Manuel López wrote:
>>
>> Hi Massimo, 
>> this is my Web2Py version: Version 
>> 2.4.6-stable+timestamp.2013.04.06.17.37.38
>> And I'm running on 2.5 Python version, maybe I've to switch to 2.7?. 
>>
>>
>> On Monday, June 3, 2013 6:56:16 PM UTC+2, Massimo Di Pierro wrote:
>>>
>>> Which web2py version? Which Python version? You may be on an early 
>>> Python version that does include multiprocessing.
>>>
>>> On Monday, 3 June 2013 11:01:38 UTC-5, José Manuel López wrote:
>>>>
>>>> Hi,
>>>> I've a function call SendReport that send an email to every user in my 
>>>> system every day (morning), something like a newsletter. 
>>>> Now, I've to make this task with the scheduler but I'm not sure how to 
>>>> do it. 
>>>> I've see the video (thanks Massimo), but I'm not sure where I've to do 
>>>> it. 
>>>> This is my code:
>>>>
>>>> Scheduler(db, dict(sendReport=sendReport()))
>>>>
>>>>
>>>> I've done it in a file task.py inside models and inside my main 
>>>> controller... but it's not working it throws me this trace:
>>>>
>>>> ImportError: Cannot import module 'multiprocessing'
>>>>
>>>> What I'm doing wrong?. 
>>>> Thank you for your help!
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>

-- 

--- 
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.


Reply via email to