I am working on a project that uses a Raspberry Pi Zero 2WH (running rpi's bookworm OS) and a Waveshare e-ink screen to display the time using book quotes (basically an at-home version of Author Clock). I have a Python app that handles all logic to get the current time to display the current minute's quote and to update the displayed quote for each minute. So for the clock to work, the pi needs to be connected to the internet and the Python script just needs to be constantly running. What I'd like to create is a script that will automatically run the Python file when the rpi zero boots (i.e., is plugged in). From some research, I've come across a handful of methods that can be used to do this, such as a systemd .unit script, a systemd .service script, a cron job, etc. Given all of these options, I'm having a hard time deciding which would be best for my use case. It seems that a .unit script might be the best option, but any advice would be great. Continue reading...