I've been working on my raspberry pi and I want it to run 24/7 (a main.py function)
The file is in a while loop
What do I do so it can run the function all the time even when im not connected to it via ssh?
Thx
(i tried screen but I don't think it's working)