How to auto restart squeezebox server and rpi

Max2Play Home 2016 (en) Forums Max2Play as Squeezebox (Player / Server) How to auto restart squeezebox server and rpi

This topic contains 3 replies, has 2 voices, and was last updated by  Gary S premium 8 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • 9. June 2016 at 7:39 #20562

    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?

    9. June 2016 at 15:14 #20565

    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

    9. June 2016 at 22:02 #20569

    Hi, thanks for helping.

    But the shutdown function does that also restart the rpi?

    9. June 2016 at 22:12 #20570

    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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Register here