![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sun Solaris10 | quickgun | SUN Solaris | 1 | 10-26-2006 02:43 AM |
| Inst. Solaris10 | mxlst14 | UNIX for Dummies Questions & Answers | 5 | 06-02-2006 12:20 AM |
| Detecting NIC in Solaris10 | jimthompson | IP Networking | 1 | 12-06-2005 05:35 AM |
| solaris10 dns problem | barabas | SUN Solaris | 5 | 06-16-2005 03:36 AM |
| help,win2003 and solaris10 in a pc? | keyi | SUN Solaris | 1 | 12-18-2004 03:05 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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...... |
| Forum Sponsor | ||
|
|
|
|||
|
First: Guys, post your errors here. We don't like to guess.
Second: For sure you get errors. Think about in which working directory cron will run your script Third: if you're using build tools not available in standard path you should add an explizit $PATH there |
|
||||
|
Quote:
Maybe this FAQ will help! |
||||
| Google UNIX.COM |