*************************************************

Hi,

I am in trouble with running a java program through a crontab.
The compiled program is located at /opt/mypath_to_java/leads/server/Server.java. When I tried to execute:
"opt/mypath_to_java># java leads/server/Server.java", it worked fine.

But I tried to execute a shell script of the follwing content through crontab,

#!/bin/bash
cd /opt/mypath_to_java/
touch test_22.txt
java leads/server/Server

I got "touch test_22.txt" working, but "java leads/server/Server" is not.

Please anyone help me to resolve my problem as I need the java program working hourly....

Many thanks.

Sudheshna. K

************************************************** ***