[cvsnt] executing cvs update from cron job

Pankaj Kumar pkumar at xora.com
Fri Jan 5 04:27:42 GMT 2007


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi
I have configured my cron job on a solaris box to execute the cvs update daily at 11:00 PM and do the build.
But it seems that cron is not able to execute the cvs update command. No error came though.

My shell script is something like:

#!/bin/sh
/bin/sh -x /dev-webapp/build/pankaj.sh
echo 'bbbbbbbbbbbbbbbbbbbbb'
/bin/sh -x /dev-webapp/build/stopAll.sh

APP_HOME=/dev-webapp
JAVA_HOME=/u04/jdk1.4.2/j2sdk1.4.2
export APP_HOME JAVA_HOME
cd $APP_HOME/checkouts/applications
/bin/sh -x cvs -q update -A -d -r build-5
cd $APP_HOME/build

This script is working fine except the cvs update command. Even if i try just the cvs -q update -A -d -r build-5, result is same.
 
regards
Pankaj Kumar
Xora Software Systems
Madivala, Bangalore-68


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook