NetBSD-Users archive

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

Re: Cron cvs?

At 08:20 AM 9/14/2008 -0400, matthew sporleder wrote:
On 9/14/08, J.D. Bronson <> 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.

BINGO. That did it. The email contains any 'issues' or changes/updates
to my src tree and thats what I was shooting for.

I tend to forget to do this from time to time (Tracking stable) so now
its all on it's own.



Home | Main Index | Thread Index | Old Index