File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 24166

Any reason why you don't just use cron?

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