eklem / justini

Just in time info when entering or exiting your home. Raspberry Pi Zero W + Waveshare e-paper display.
MIT License
1 stars 0 forks source link

Automatically running scripts after reboot #22

Open eklem opened 4 years ago

eklem commented 4 years ago

https://askubuntu.com/questions/335615/does-ubuntu-support-reboot-in-crontab So, maybe...

@reboot pi [screenshot] && [convert] && [updateScreen]

And maybe && shutdown at the end. Need to check if that plays well with the WittyPi-Mini RTC Power management.

eklem commented 4 years ago

Seems I can do a On wait on the scheduling and then it will be on until it is shutdown by a script or manually, so then it will also use the least time possible being on, and using less power.

eklem commented 4 years ago

First step: Test reboot in crontab and