first, I m new to this and I am a total noob in programming and setting up stuff.
Anyway, somehow I managed to build my own MM with the help of tutorials and guides from this site
I m planning to shutdown my R Pi at different timepoints, for example every evening at 11 pm.
I googled and I found out that I can do this using cronjob.
To date, I manually stop my MM interface using the “pm2 stop mm” command in the console. This brings me back to the desktop. Then I shut down my R Pi using either the shutdown button in the R Pi Menu or by the shutdown command in the console.
I m planning now to use a cronjob to shut down my R pi. Here s my problem:
Do I have to stop my MM interface (using the “pm2 stop mm” command in the console) before I shut down my R pi with the cronjob? Will there be any errors occuring after next boot if the R pi just shuts down at 11 pm without stopping the Magic Mirror surface in advance?
Or can I add to the cronjob that MM interface should stop, before executing the shutdown?
I don´t know how to handle/set up this.
Can you help please?
Thanks and Best regards