Crontab job (python script) does not start

  • Thread starter Thread starter fbuster
  • Start date Start date
F

fbuster

I entered $sudo crontab -e and added line below

* * * * * root /usr/bin/python2.7 /home/pi/Documents/python/flashled.py


The script just flashes a led on the GPIO port
and needs root priviliges , but it works when i run
it as a command.

what could be wrong?

Continue reading...
 
Back
Top