@alexmburns wrote:
Hoping someone can help…
I have been playing around with my scroll pHat HD. My plan was to run one of the python scripts at startup, so I could just turn on the pi and it would automatically start displaying text without any need for logging on.
To achieve this I used cron, added an extra line at the bottom of the file “@reboot python /home/pi/hello-world.py &”
It worked a treat but now I have to way to stop it displaying that message without turning the pi off and removing that line from the file.
Normally when running the python script from terminal you are given the option to press Ctrl + C and stop the script… unfortunately when booting at startup I do not seem to have this option.
I have tried finding the hello-world.py in task manger… but cannot seem to find it anywhere.
Any attempt to run new scripts just overlays them on top of “hello-world.py”.Kind regards,
Alex
Posts: 3
Participants: 3