running python script with cron
- by paulo
hey guys, im trying to run a python script after every 5 minutes using cron, inside the script is a django import
import django
when running the crontab i get mailed the following error
ImportError: No module named django
this is what the crontab file looks like:
[email protected]
*/5 * * * * /usr/bin/python /Users/paulo/Desktop/ashtanga/ping/sender.py
do anyone of you know whats causing this ?
btw i do have django insalled version 1.2, python 2.6, and MacOX 10.6