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.
Hi, I am trying to set up a cron job via the Cron Job manager available in my CPanel. I have written a servlet that nedds to be executed as a cron job. Can anyone please tell me how to write the command for running this servlet? I know how to set the parameters related to the time,etc. The server company is using a Linux OS. Thanks
I've heard a lot of good things about Open Symphony's Quartz: http://www.opensymphony.com/quartz/ . It is an open source job scheduler that can be run in an application server with your servlets. Every job is a Java class so you can do a lot of very cool stuff with it. If you are going with cron then curl is a very easy solution to your problems, though.