This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 24189

Any reason why you don't just use cron?

[Jess in Action][AskingGoodQuestions]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: trigger programs to run java batch job
It's not a secret anymore!