• snekerpimp@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    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
      9
      ·
      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
      6
      arrow-down
      3
      ·
      edit-2
      4 months ago

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

      Edit: I have no idea why a few people downvoted my question. Maybe they misunderstood it?