The use case is following:

I’d like to turn off my server at night. Sometimes I stop at 12, sometimes at 1 or 2. If I could ask “is someone watching?” And it returns false, I could postpone the shutdown.

The current solution is to always turn off at 2 and turn on at 7.

How do you guys handle the situation?

  • @swoooshOP
    link
    English
    56 months ago

    Thank you!

    I wrote a bash script that powers off the computer when there was no user activity for 10 minutes.

    • @[email protected]
      link
      fedilink
      English
      26 months ago

      Neat and handy! I guess you could write some wake-on-LAN shenanigans to make it turn on when a user is trying to connect aswell 👍

      • @swoooshOP
        link
        English
        16 months ago

        Wow, that would be next level!