jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes trigger programs to run java batch job Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "trigger programs to run java batch job" Watch "trigger programs to run java batch job" New topic

trigger programs to run java batch job

vivien siu
Ranch Hand

Joined: Nov 10, 2005
Posts: 143
Hi, I am thinking of writing a java scheduler to run a java batch job. But it has disadvantages such as if the server dies down, then I have to manually restart the scheduler program again.

Is there any better ways to trigger a job-run than using scheduler? FYI we're using a Unix server to deploy the application.

I'm not available, my BF's name is WORK.
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Any reason why you don't just use cron?

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link: http://aspose.com/file-tools
subject: trigger programs to run java batch job
Similar Threads
running java app as a batch and deployment
Spring Quartz Shutdown issue
How do I send mail withour user intervention?
Client API for Quartz