Crontab generators:

Edit crontab file:

crontab -e

The following will redirect STDERR to STDOUT and the latter to the given file:

*/10 * * * * deploy-site-locally.sh > deploy-site-locally.out 2>&1

You can also put /dev/null to ignore all output.