Correct crontab entry for port selfupdate && port upgrade outdated
Ryan Schmidt
ryandesign at macports.org
Sat Apr 27 14:16:50 PDT 2013
On Apr 27, 2013, at 13:39, Stephen Rasku wrote:
> Can you even run "sudo" inside a cron entry? You won't be able to
> automatically enter the password.
There would have to be an entry in /etc/sudoers negating the need for typing a password for this command.
> You might have to put the entry into root's crontab.
And running MacPorts via root instead of via sudo will currently cause some problems:
http://trac.macports.org/ticket/34221
Though we believe we've fixed it on trunk.
More information about the macports-users
mailing list