Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6977

Automation, sensing and robotics • Problems with cron

$
0
0
I cannot for the life of me get cron to work

I have a script called test.py it is at /home/pi/gardenpi/test.py

I open cron with

sudo crontab -e

and I type

* * * * * /usr/bin/python3 /home/pi/gardenpi/test.py &

Nothing works....when I run the test.py in the command line by typing

python3 test.py it runs fine but the cron isnt working....it used to work...but this year when I pulled out my pi it wasnt workinng. Any help appreciated.

Statistics: Posted by Crimson0087 — Thu May 15, 2025 6:28 pm — Replies 3 — Views 111



Viewing all articles
Browse latest Browse all 6977

Trending Articles