I have a java application which downloads a file from an FTP server and I need it to run daily. I was just wondering what the best method to schedule it to run would be. The options I am currently considering are the Windows scheduler and Java timer task.
At the moment I have the windows scheduler pointing at a batch file which runs my program.
If anybody has any knowledge in the area I would appreciate to hear from you!!
Look at AT TASKS on windows and CRON JOBS on unix. These can run your Java program.
You should also take a look at Quartz which is a Java-based job scheduling system.
You can also get help from this link.