*nix crontab, should look like:

# m h  dom mon dow   command
0 * * * * python /home/harshit/Harshit/Sem3/SSAD/web2py/
applications/trial2/controllers/send_mail.py

#crontab
0 * * * * root python /home/harshit/Harshit/Sem3/SSAD/web2py/
applications/trial2/controllers/send_mail.py

Yours seems to have an extra word "root" ??

Rgds
Anand



On Sep 14, 10:02 am, 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to