Which type of suspension use autoshutdown

    • OMV 3.x
    • Which type of suspension use autoshutdown

      hi guys,
      since I'm having problem with suspension, I want to set up autoshutdown to suspend my pc. So i need to do 2 things:
      1) be sure that AS use the command pm-suspend instead of pm-suspend-hybrid
      2) know where to tell him the hour of suspension. In the plug-in tab in only have this voices:
      - cicles
      - forced uptime
      -Supervision Configuration
      - Syslog Configuration

      -expert settings

      Where should I put the hour of standby?
      Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 2X6TB Seagate Ironwolf - 2x4TB WD RED
      OMV 4.1.26 - Kernel 4.19 - omvextrasorg 4.1.2
    • subzero79 wrote:

      You cannot use the auto shutdown plugin to tell the time to suspend. If you want that use power management from omv. You can tell the plugin not to shut at some period of time independent if all checks are positive.
      So.. The autoshudown plugin is simply a "watcher" that will check if OMV is trying to go into suspend?
      I mean: I create the script "sleep at 2AM"-> the script try to run -> AS see it, check everything: if yes OMV will suspend, if no it will wait for the next check?
      Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 2X6TB Seagate Ironwolf - 2x4TB WD RED
      OMV 4.1.26 - Kernel 4.19 - omvextrasorg 4.1.2
    • Wrong concept, auto shutdown is a script that will check status on certain conditions system. Most common one is port active connected. If there is a user connected to samba or nfs the shutdown script will not trigger. There are other conditions like current network traffic or IO level (disk transfer).
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • thanks, well the name autoshutdown is really confusing so. I was thinking that it was a script for suspend my pc under certain circumstances, instead is a script to check if I can shutdown :)
      Since you told me to use power management tab, i tried and it only ask me if I want to standby daily,hourly,ecc.
      I selected daily but than I can't select the hour O_o
      Why should I use power management->scheduled jobs tab instead of scheduled jobs?
      Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 2X6TB Seagate Ironwolf - 2x4TB WD RED
      OMV 4.1.26 - Kernel 4.19 - omvextrasorg 4.1.2
    • suspend my NAS at certain hour (3am) only if it's under some circumstances.
      So I have to create a job under "scheduled job" with the command:
      echo pm-suspend | sudo at 11pm
      and then set up auto shutdown, right?
      Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 2X6TB Seagate Ironwolf - 2x4TB WD RED
      OMV 4.1.26 - Kernel 4.19 - omvextrasorg 4.1.2
    • Just pm-suspend as command you define the time at the scheduled job. That won't check anything I'll send the machine to suspend right away.
      The auto shutdown plugin is sort of intended to work when the server is under low activity, no active no connections no traffic etc.
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server