dcsimg
running crontab for java program
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vidula_Kulkarni
Posted On:   Monday, April 30, 2001 06:23 AM

i have created a crontab file to run a java program:
0 1 * * * java /path/classname
but it is not working.can you tell me the possible reasons for this.

Re: running crontab for java program

Posted By:   Nathan_Meyers  
Posted On:   Monday, April 30, 2001 11:30 AM

The environment running crontab jobs doesn't
know where to find the java executable. Either
have cron run a script that sets the PATH and invokes
java, or change the crontab entry to supply
the full path to the java executable.
About | Sitemap | Contact