I had written a Java class with main method. now i need to schedule this program daily basis. for that , I guess i need a shell script. But i donot know how to write it and configure it.
Please help me.
Regards,
KonangiK
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
The script could be as simple as:
You may need to provide the complete path to the java executable, something like /usr/bin/java.
For scheduling to run it periodically you'd need the cron utility. Type man cron on the command line, or google for an introduction about it. [ March 18, 2008: Message edited by: Ulf Dittmer ]