• Björn Tantau@swg-empire.deOP
    link
    fedilink
    arrow-up
    0
    ·
    10 days ago

    Systemd at its core starts stuff when your Linux system boots and during normal operation. It can also start stuff at specific times. That was traditionally done by cron.

    But of course when you set up to run something at midnight it cannot run if the system is in standby. But with the WakeSystem=true option you can tell it to basically set an alarm for the computer to turn itself back on and do whatever you want it to do.

    It does not turn your computer back to sleep, though. That’s something you have to script yourself.

    I hope they add the ability to turn the computer on even if it is completely shut off. That would make keeping my family’s computers updated much easier.

    • KaninchenSpeed@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      9 days ago

      I hope they add the ability to turn the computer on even if it is completely shut off. That would make keeping my family’s computers updated much easier.

      That’s probably not possible, but you could do it with a microcontroller and a relay bridging the power switch.