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.