The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-02-2008
gullapalli gullapalli is offline
Registered User
 

Join Date: May 2008
Posts: 7
Re: Crontab in solaris10

Hi all,

I wrote a small shell (bash) script and it was executing well. I'm getting problem when I use this in crontab. My script is:

#!/usr/bin/bash

mkdir `date '+%m-%d-%y'`

cd `date '+%m-%d-%y'`

cvs co -r br_name module

cd dir1/dir2/dir3

bash build.sh


this is doing well when executed as a script but when I tried to execute this command through crontab I'm getting errors.

It is creating directory but not able to checkout from CVS. can anyone solve this?

And one thing I'm doing this on solaris10 where as the CVS repository is on Linux.

Thanks all......
Reply With Quote
Forum Sponsor