Auto Type password for sudo command from crontab

Joined
Sep 19, 2014
Messages
1
Reaction score
0
Points
1
I am trying to run

sudo osascript -e "set Volume 10"

from a crontab, but it requires a password. how can I make it work properly?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top