This is an old revision of the document!
redirect all error output to a file, &» /tmp/whatever.log isn't support by sh, so use command below instead:
&» /tmp/whatever.log
sh
12 * * * * /opt/homebrew/bin/brew update >> /tmp/brew.log 2>&1