Click to See Complete Forum and Search --> : scheduling an API program


akay
09-29-2006, 01:35 PM
I would like to build a program using Java that downloads a database from one server and posts it to another.

My understanding of the concept is this:

1) Write the java code to access the URL where the database is located (using HttpURLConnection class)

2) Use same idea to post database to new URL


My question relates to scheduling this as a Task on our Windows 2003 server... can I schedule a Java program to run as a "Scheduled Task"?

And has anyone created a program like this before?

Khalid Ali
09-29-2006, 03:05 PM
I have not used java scheduling tasks, however, I have used java Runnable or TimerTask classes to for such purposes. Look into the usage of those classes, google has ton of resources.