- This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Max2Play Home › Forums › Max2Play as Squeezebox (Player / Server) › How to auto restart squeezebox server and rpi
Hi all,
Happy with my rpi but have sometimes problems to use squeezebox server.
Devices that use sbs don’t react all times. When doing the restart of the rpi and the restart of the squeezebox server it works again.
That’s why I want to restart the server and the rpi every day at 3.00 in the morning, but i dnon’t kwow how to do that.
Can anybody help how to set this up?
The easiest way to schedule something on Linux is the crontab
edit /etc/crontab and add something like
00 03 * * * root /sbin/shutdown -r now
That will run the shutdown command at 3am every day
Hi, thanks for helping.
But the shutdown function does that also restart the rpi?
Yes. The -r argument tells the shutdown command to restart the PI once the shutdown process is complete.
-h would halt the system, and on PC or other systems with an intelligent power supply would turn it off
You must be logged in to reply to this topic.
Max2Play free download
Download now