File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes java batch process parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java batch process parameters" Watch "java batch process parameters" New topic
Author

java batch process parameters

Chidu Chidambaram
Greenhorn

Joined: Sep 18, 2003
Posts: 7
I have a java program to query a DB2 database and create an email to be sent to people registered for an application.
I want to run this program automatically every few minutes from the server. How would I go about doing this. I need help to get the parameters right for the JDBC connection and the classpath on a batch file. If I can get the parameters to use to execute the java program from a batch file, that would be real helpful.
Thanks
Sanjeev Kaushik
Ranch Hand

Joined: Aug 01, 2002
Posts: 105
You can use cron jobs on the unix/linux machine. On windows you can add a task in the scheduled task.
This link can help you in cron job
http://www.webmasters-central.com/t/cron.shtml


Sanjeev Kaushik
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java batch process parameters