| Author |
execute java programs in cron
|
Thamaiyanthi Pitchaimuthu
Greenhorn
Joined: Aug 20, 2010
Posts: 14
|
|
Hi,
When I'm trying configure a java program in cron, it says java command not found.
How to get JAVA_HOME environment variable in cron?
thanks,
thamayanthi
|
 |
Ed Ward
Ranch Hand
Joined: Jan 30, 2006
Posts: 147
|
|
|
Sounds lik a *NIX issue, but why not just write a short script which sets the env variables you need and execute the java proggi from it, then just have CRON execute your script?
|
 |
 |
|
|
subject: execute java programs in cron
|
|
|