running python scripts via crontab

Mr SZ sk8in_zombi at
Sat Jun 9 15:10:38 CEST 2007

Hello all,
 I wrote a simple python script to send mail via smtp to my gmail acc.I can run it as python /home/phil/Desktop/ but when I add the same to my crontab as

          * * * * * /usr/bin/python2.5 /home/phil/Desktop/

 ,it doesn't run.I checked the process by using top command and python did start a thread but died soon.
 I need some help here.
The python script uses tls-lite lib to use tls over smtp.

" life isn't heavy enough,it flies away and floats far above action"
How would you spend $50,000 to create a more sustainable environment in Australia?  Go to Yahoo!7 Answers and share your idea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list