rm-hull / luma.examples

Companion repo for running examples against the luma.oled, luma.lcd, luma.led_matrix and luma.emulator display drivers.
MIT License
362 stars 137 forks source link

How to start scripts with cron job when using virtual environment? #170

Open haemmer-dave opened 1 week ago

haemmer-dave commented 1 week ago

Hello. I see that the luma projects now require a virtual environment. When I configure a cron job to start an example automatically on boot, do I need to point to the python executable from the venv? Or can I use the python executable from the base system installation? Could we add this detail to the docs as well, please?

thijstriemstra commented 1 week ago

Use the python executable from the venv.

Could we add this detail to the docs as well, please?

PRs are welcome!