Forum Discussion

Pickles's avatar
Pickles
Copper Contributor
Jul 15, 2022
Solved

Automating sleep

Hello all,   Can someone point me in the right direction? I'm trying to make my server sleep at night and wake in the morning (simply for sheer cost of electricity). I can easily get it to do this ...
  • Pickles's avatar
    Pickles
    Jul 17, 2022
    Figured it out through other peoples posts.
    thought id post to help others. Embarrisingly its very simple. BAT file with the following 4 commands:

    Powercfg /Change monitor-timeout-ac 0
    Powercfg /Change monitor-timeout-dc 0
    Powercfg /Change standby-timeout-ac 0
    Powercfg /Change standby-timeout-dc 0

    change zero to a number for minutes to turn it on
    0 is off

Resources