Skip to main content

Task System - Hibernate​

The Hibernate Task puts the VisualCron Server computer or a remote computer into hibernation. On the Server computer, the Task can also set a time for the computer to wake up. A computer in hibernation uses about 1% of normal power consumption, and it can be woken at a set time or through the network with the Wake up on LAN Task.

Hibernation writes the contents of memory to a file on the hard disk and then turns the computer almost completely off. It takes longer than Standby, both to start and to resume, because resuming goes through much of the normal startup. A computer can stay in hibernation for days, and when it resumes, everything is as it was left.

Hibernate Task settings, with the Credentials, Hibernate and Wake up groups

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Hibernate tab​

  • Credentials: not used. With Remote host, the Task connects to the remote computer through WMI as the account of the VisualCron Server service, whatever Credential is selected; that account must be allowed to start programs on the remote computer
  • Local host (Hibernate group): hibernates the VisualCron Server computer. Selected by default
  • Remote host: hibernates the computer entered in the field next to it
  • Force: selected by default. When selected, the computer hibernates at once; when cleared, Windows first sends a request to the running programs. Used only with Local host

With Remote host, the Task starts the Windows command rundll32 powrprof.dll, SetSuspendState on the remote computer. The Standby Task starts the same command, so whether the remote computer hibernates or sleeps depends on its own power settings. The Task reports success once the start request is sent, even when the remote computer does not start the command.

Wake up group​

The options in this group are available only with Local host.

  • Wake up: when selected, the Task sets a wake-up time before the computer hibernates
  • At a certain date and time: wakes the computer at the date and time entered. Selected by default
  • At a certain time: wakes the computer at the time entered, on the day the Task runs. A time that has already passed that day does not set a wake-up for the next day
  • After a certain time (hour,minute,second): meant to wake the computer after the hours, minutes and seconds entered
warning

With After a certain time (hour,minute,second), only the seconds value is used and the hours and minutes are ignored, so the computer is set to wake within a minute, and the Task reports success. To wake the computer after a longer period, use At a certain date and time.

On success, the output is "Hibernate success".

Note

Remark on Wake Up

Some computers can wake up from standby and not from hibernation, some work for both, and some for none. It all depends on the BIOS and the APM/ACPI capabilities, your motherboard, and your ATX power supply version.