@reboot should work. It does for me.morticiaskeeper wrote:I forgot about that - I blame it on old age
it now stays detecting in the background, thanks.
On reboot, i still need to run the buttons.py script from SSH before it will detect. I've tried adding the command to the @reboot section of cron, and I've tried running the script from my gpioStart bash script that sets the pin modes on bootup.
Code: Select all
@reboot ~/cron/lights >>~/tmp/lights.log 2>~/tmp/lights.err