Is send mail a regular python module (in which case should be in modules/) or a controller (uses web2py objects without importing them)? Are you using unix cron or web2py cron?
On Sep 13, 9:02 pm, Harshit dubey <[email protected]> wrote: > I am making a Courier Management Portal for my collage using web2py > and in doing so i had to run a background process that will run a > function at regular interval of time , So i am using cron for that , > But it does not seem to work > > It shows an error code 127 > > Content of crontab file is as follows > > ------------------------------------------------------------------------------------------------------------------------------------------ > > #crontab > 0 * * * * root python /home/harshit/Harshit/Sem3/SSAD/web2py/ > applications/trial2/controllers/send_mail.py > > ------------------------------------------------------------------------------------------------------------------------------------------ > > where my pyhton command is > > python /home/harshit/Harshit/Sem3/SSAD/web2py/applications/trial2/ > controllers/send_mail.py > > So please help me --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

