This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to schedule a java program. I would like to know what are the various options to run the java program. I dont want to use windows batch file. I was looking into quartz scheduler and timertask class. There are ways to schedule it but how would you run it (automatically triggered at that particular time) in Windows and not in UNIX?
Yeah, Windows Task Scheduler is the standard "cron" for Windows.
Another option on Windows would be to write the scheduling in Java and then wrap it up as a Java Windows Service. Once it's installed as a Windows Service, you can configure it to run on startup (even when no one is logged in), just like any other Windows Service.