Dear All,
I am facing an issue related to cronjob and explained below is the case study:
-
I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"
-
When I am using the command
"/usr/openv/java/jre/bin/java -cp .:/cpc/documentum/shared/dfc/dfc.jar:/cpc/documentum/shared/config/ DmCheckRenditionQueue"the result is as expected.
-
Now when I edit my crontab using "crontab -e" and modify the file with
"43 * * * * /cpc/documentum/product/5.2.5/tomcat/webapps/rendition/dm_startcheckingrenditionqueue.sh>/cpc/documentum/product/5.2.5/tomcat/webapps/rendition/cronlog.log 2>&1"
I get the error message which says:
"Exception in thread "main" java.lang.NoClassDefFoundError:
DmCheckRenditionQueue"
Can someone help me in sorting out this issue?
Thanks
Paul