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?

  • @swooosh@lemmy.worldOP
    link
    fedilink
    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.