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?
 
Joined
Aug 5, 2008
Messages
346
Reaction score
14
Points
18
Location
Central New York
Have you tried it without "sudo " at the front?
 

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