need help running root crontab
Posted: Sun Oct 27, 2013 7:27 pm
Hello all,
I'm trying to use the crontab method to start my python script like in this thread:
http://www.raspberrypi-spy.co.uk/2013/0 ... sing-cron/
I did follow the steps and the script does run, however it does not work with the GPIO pins which need the root access. The script runs fine if I log in as root and run it in the terminal. So my thinking is that the crontab is not running with the root users. when I log in as root and open the crontab it says "File: /tmp/crontab.KvaEFW/crontab" at the top. Is that correct? Where is the one for root and how would I edit it?
Thanks,
Bruce
I'm trying to use the crontab method to start my python script like in this thread:
http://www.raspberrypi-spy.co.uk/2013/0 ... sing-cron/
I did follow the steps and the script does run, however it does not work with the GPIO pins which need the root access. The script runs fine if I log in as root and run it in the terminal. So my thinking is that the crontab is not running with the root users. when I log in as root and open the crontab it says "File: /tmp/crontab.KvaEFW/crontab" at the top. Is that correct? Where is the one for root and how would I edit it?
Thanks,
Bruce