[SOLVED] Scheduled restart

Viewing 3 posts - 1 through 3 (of 3 total)
  • 13. November 2017 at 12:59 #32446

    Is it possible to schedule an automatic restart every night? I’m finding my Tellows plug in stops working from time to time but works again after restarting Max2Play, so I’d like to restart it everynight instead.

    13. November 2017 at 16:33 #32460

    Hy,

    when you run it on a raspberry pi you can restart the pi with a cron job every night.
    You need to go to the console (SSH) and there you can edit the cronjobs with:

    sudo crontab -e

    Then you can add a new Job with as example for a restart at 4 am:

    0 4 * * * /sbin/shutdown -r now

    Save and quit.

    Thats it.

    wbr, Andy

    13. August 2024 at 8:59 #53217

    I couldn’t get this to work (using nano). The file was created in /tmp – I think this is the problem

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

You must be logged in to reply to this topic.

Register here