Re: user cron jobs
On Tue, 1 Feb 2000 hawk@hawkins.cba.uni.edu wrote:
> 0,10,20,30,40,50 * * * * ch1quiz /usr/local/bin/updatehw 2>>& $HOME/tmp.quizlog
>
> in /etc/crontab, and every ten minutes user ch1quiz will run
> /usr/local/bin/updatehw with the output and errors appended to
> tmp.quizlog in its home directory. But nothing seems to happen. What
You're only appending errors. To get both, do:
/foo/updatehw &> outputfile
Also, you can't use the $HOME variable in cron. Use the full pathname.
Your program is probably running, but the output is getting lost.
Reply to: