filmov
tv
Setting up shutdown script & cronjob for safe shutdown of RPi using Pichondria Python Library

Показать описание
Pichondria issues shutdown requests to the RaspberryPi. Raspberry Pi should check this shutdown request periodically and then issue and acknowledgement if necessary. It should then initiate a shutdown.
This video shows how to write a simple python script which can initiate a shutdown in the background when a request for shutdown is received from the Pichondria. The video also shows how to set up a cron job in Raspberry Pi to make the script run in the background every minute. The script ensures that the RPi shuts down safely each time, avoiding any potential data corruption.
It shows how to check for the shutdown request from Pichondria, and how to send acknowledgement when required.
This video shows how to write a simple python script which can initiate a shutdown in the background when a request for shutdown is received from the Pichondria. The video also shows how to set up a cron job in Raspberry Pi to make the script run in the background every minute. The script ensures that the RPi shuts down safely each time, avoiding any potential data corruption.
It shows how to check for the shutdown request from Pichondria, and how to send acknowledgement when required.