shell script load jar files and hang
问题 Good day, I have a shell script, which will load some jar files first before proceed to do its job. The following is part of my shell script code to load jar files: for f in `find $BASEDIR/lib -type f -name "*.jar"` do CLASSPATH=$CLASSPATH:$f echo Getting jar file : $f... >> $LOG done This is working fine when I trigger this through Crontab , I set a time in crontab and let it trigger automatically, and its work without any error. However, I having some problem when I trigger this shell