directing output in crontab
sjansen at buscaluz.org
Tue Jul 22 18:07:00 MDT 2008
On Tue, 2008-07-22 at 16:06 -0600, Wade Preston Shearer wrote:
> > For /bin/sh, the typical syntax to send stderr to the same place as
> > stdout is "2>&1".
> Wouldn't that take the standard error and redirect it back to the
> display? I want to take the standard output and standard error and
> send them both to a log file.
/usr/local/bin/backup.sh &> /var/log/backup.log
More information about the PLUG