• snekerpimp@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 months ago

    Ok, what people are able to throw together in code is amazing. I struggle writing a bash script to schedule to turn off my computer.

    • daddy32@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      4 months ago

      I know this is not a good way to get community approval around here, but: Chatgpt can write that for you. My bash-fu increased tremendously since it exists and I script everything now. In the past, it would end up with having an idea and also fear of failure. Now every scripting idea gets to be implemented and executed.

    • mox@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      3
      ·
      edit-2
      4 months ago

      Have you considered using the at and shutdown commands together to accomplish this?