Does anyone know of a way to automate updates? What I usually do, manually, is to run:

freebsd-update fetch install

I see on man page one can put cron option to do fetch, but don’t see a way to automate the actual install.

    • francisco_1844OPA
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      That article is just “how do you do upgrades”. Looks like target audience is for new users; also the article is 11 years old so a lot would have changed even if they covered the automation.

      • lordofflies@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        TIL you can do fetch and install together, I used to do them seperately (and manually) I have a cron job for pkg update && PKG upgrade though.

        • francisco_1844OPA
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          But the install part of freebsd-update prompts for user intervention. Don’t see anything in the man page about automation. Going to setup a VM to play around with this. will report back with findings.