crontab for java apps
1 posts in topic
Flat View  Flat View

Posted By:   James_Yap
Posted On:   Tuesday, October 23, 2001 11:15 AM

I've looked thru the FAQ and found that this question has been asked before but I couldn't get it work with the answer.
I've created a file (csh) starting bu setenv CLASSPATH .... and then executing the java program. When I execute the script on a console, it works perfectly but when I set a cronjob to execute the script, it doesn't work.

Please help

Re: crontab for java apps

Posted By:   Nathan_Meyers  
Posted On:   Tuesday, October 23, 2001 06:02 PM

Is the script starting at all? Is it running but failing to find java? A cron job doesn't get all the environment settings of a login shell (including PATH) - is the environment correct in the environment running the script?
About | Sitemap | Contact