I am trying to run a python script every hour with cron. This is everything I have in my crontab.
0 * * * * python /Users/jamesrusso/Documents/TorMeasure/TorMeasurementProject/getConsensus.py
But I get an error when it tries to run saying ImportError: No module named stem.descriptor. I have included #!/usr/local/bin/python in my python script. Does anyone know a way to fix this or need more info let me know
python --version? Is it the same as/usr/local/bin/python?#!/usr/local/bin/pythonin script because you runpython script. Use full path to Python in crontab.#!/usr/bin/env python