On Apr 27, 2013, at 08:10, Peng Yu wrote: > I have the following crontab entry > /tmp$ sudo crontab -l > 0 1 * * * sudo nice /opt/local/bin/bash -c "set -v; ((echo '==> port > selfupdate <=='; /opt/local/bin/port selfupdate) && (echo '==> port > upgrade outdated <=='; /opt/local/bin/port upgrade outdated)) >> /tmp/portupdate.log 2>&1" > > But I always see the following error message. > > /tmp$ cat portupdate.log > ==> port selfupdate <== > ---> Updating MacPorts base sources using rsync > Error: /opt/local/bin/port: port selfupdate failed: Error > synchronizing MacPorts sources: command execution failed
Try modifying the crontab entry to run "sudo port -d selfupdate" so that we'll see why this failed. _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
