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