• @[email protected]
      link
      fedilink
      22 months ago

      Unless configured to explicitly blanket allow without authentication I don’t think you can run sudo from cron

      • @[email protected]
        link
        fedilink
        62 months ago

        Yeah, they got the sudo placement inside out. You “sudo crontab -e” and put your commands there that need sudo, you don’t sudo the individual commands in the regular user’s crontab.

        • @[email protected]
          link
          fedilink
          12 months ago

          With systemd this would not be an issue , you just need to set up a timer for your service and some policy rules /s?