python script is not running

Chris Angelico rosuav at gmail.com
Sat May 18 09:28:03 EDT 2013


On Sat, May 18, 2013 at 8:12 PM, Avnesh Shakya <avnesh.nitk at gmail.com> wrote:
> avin at hp:~$ crontab -e
> then type -
> */2 * * * * python /home/avin/data/try.py
>

You may need to put an explicit path to your Python interpreter. Type:

$ which python

and put that into your crontab.

ChrisA



More information about the Python-list mailing list