Announcement

Collapse
No announcement yet.

Force a Raspbian restart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Force a Raspbian restart

    I've noticed that over 3 days the memory used by mono gradually increases, going from 11% to 13% over 3 days. Is there a way of scheduling a re-start of the whole system as an Event?

    For example, could I create an Event that's triggered at 2am and that somehow issues the web-page:
    http://hometrollerzee/LinuxTools?restart=yes

    Thanks

    #2
    What I've tried is setting up an event as follows:

    IF The time is at 3:00:00 AM
    Then Launch /usr/bin/wget With Parameters: http://localhost/LinuxTools?restart=yes



    But, all I get is an error message "Event Timers Restart Raspbian failed to launch \usr\bin\wget as the file could not be found."

    But the wget file definitely exists in /usr/bin/ (of course!).

    Any ideas what I'm doing wrong?

    Strange that the error message says it can't find \usr\bin\wget when I've got the event defined to use /usr/bin/wget
    Last edited by tarbat; October 10, 2014, 10:42 AM.

    Comment


      #3
      Confirmed here Christopher creating a simpler event.

      7/24/2014 2:12:40 PM:[Error]->Event Test Group (can be deleted) Test Event (can be deleted) failed to launch \usr\local\HomeSeer\restart.sh as the file could not be found.
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      Comment


        #4
        Thanks for confirming that. I'll report on bugziller.

        http://bugzilla.homeseer.com/bugzill...ug.cgi?id=2289

        As a workaround, I've used a crontab
        0 3 * * * /usr/bin/wget http://localhost/LinuxTools?restart=yes
        Last edited by tarbat; October 10, 2014, 01:19 PM.

        Comment


          #5
          Thank-you Christopher!

          Yup; here with it overclocked right now just trying to break it.
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment

          Working...
          X