![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running a script with cron | altamaha | Shell Programming and Scripting | 3 | 06-05-2008 08:46 AM |
| Running a script in cron question | NycUnxer | UNIX for Dummies Questions & Answers | 3 | 01-02-2008 01:22 PM |
| Running a Cron Script only @ Startup Pls Help!! | perk_bud | Shell Programming and Scripting | 3 | 07-17-2007 06:29 AM |
| Running script using cron | ankurgupta | Shell Programming and Scripting | 4 | 12-12-2002 10:41 AM |
| Cron running shell scripts. | cfoxwell | UNIX for Dummies Questions & Answers | 3 | 09-26-2001 11:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
error in running shell script in cron
#!/bin/bash
CLASSPATH=. #CLASSPATH=${CLASSPATH}:${INSTALL_PATH}home/squidlog/CopyFile.java CLASSPATH=${CLASSPATH}:${INSTALL_PATH}usr/java/latest/lib/*.jar javac CopyFile.java echo "CLASSPATH=$CLASSPATH" #home/wbiadmin/JRE1.4.2/j2re1.4.2_15/bin/java CopyFile /usr/bin/java CopyFile i tried setting classpath still i have problem |
|
||||
|
What jim said; you need to omit the "*.jar" part. Also to be on the safe side, add export CLASSPATH
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|