I have a python script called mediacircus.py that works when run manually (using Idle) in /home/pi. I have a Cron schedule to run it every minute that looks like this:
* * * * * /usr/bin/python /home/pi/mediacircus.py
but a check using
grep cron /var/log/syslog
shows no evidence that it has run, even though another unrelated task that also runs every minute--a shell script--does run. I have ensured that the script is executable using chmod.
Using Idle, I see that /home/pi/ is a valid path.
I've tried replacing "/usr/bin/python" with simply "python", and also taken this part out completely, to no avail.
What am I doing wrong?
idle
? When I use~$ idle --version
on the command line I get:bash: idle: command not found
.