sudo: sorry, you must have a tty to run sudo
When running script in crontab I get an error sudo: sorry, you must have a tty to run sudo How to fix this problem? In /etc/sudoesr update Defaults requiretty to Default !requiretty Disable per user Defaults:myuser !requiretty Disable per command Read More