On 9/14/08, J.D. Bronson <jd_bronson%sbcglobal.net@localhost> wrote:
> I am trying to setup a root crontab to run cvs each sunday.
>
> I just want to run this command:
>
> -------------
> /usr/bin/cvs -q up -Pd | /usr/bin/mailx -s "CVS" root
> -------------
>
> If i run it from command line (within /usr/src), it works.
> Anytime I try to cron this, I get just an empty email and the job
> only ran for 1sec.
>
> Can someone point me as to what I need to do to cron this?
> thanks!
>
You might want to add a "cd /usr/src &&" to the front of that.