• 2 Posts
  • 33 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle


















  • Yes, you should never use sudo inside a users crontab. If you want to run as root then use the system crontab.

    I appreciate the advice! I had never really heard about the distinction between the system crontab and user crontabs. While it makes sense in retrospect, I am entirely self-taught about this stuff, and nowhere I had looked had ever mentioned that there were two separate crontabs.

    I would also encourage looking at systemd timers

    Do you happen to know of a good resource to learn about those off the top of your head? I appreciate the suggestion!