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.
Born too late to conquer the world
Born too early to explore the stars
Born just in time to have edits of my shitposts shared on a niche online community 😤
(Jokes aside, I'm glad you liked/hated my meme enough to make an edit :-) )
8 Comments
4am@lemm.ee · 20 pts · 1y
I googled “suited” but I can’t find any daemons called “suite”.
SnotFlickerman@lemmy.blahaj.zone · 13 pts · 1y
Exec@pawb.social · 2 pts · 1y
Unless configured to explicitly blanket allow without authentication I don't think you can run sudo from cron
Wolf314159@startrek.website · 6 pts · 1y
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.
leds@feddit.dk · 1 pts · 1y
With systemd this would not be an issue , you just need to set up a timer for your service and some policy rules /s?
Kusimulkku@lemm.ee · 2 pts · 1y
Should've used a systemd timer for this
renzev@lemmy.world · 3 pts · 1y
(Jokes aside, I'm glad you liked/hated my meme enough to make an edit :-) )
dezmd@lemmy.world · 1 pts · 1y
We are truly living in a time.