[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: job in crontab not running

> You can append "2>&1 >> /var/log/nightly-git.log" to get the output
> logged to a file.

Those redirections are the wrong way round. Only standard output is
redirected to the file.

To redirect both standard output and standard error you need to append
">> /var/log/nightly-git.log 2>&1"


Reply to: