Two Laptop Bag*
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
Author

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
http://www.opensymphony.com/quartz/
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Any reason why you don't just use cron?


[Jess in Action][AskingGoodQuestions]
 
Consider Paul's rocket mass heater.
 
subject: trigger programs to run java batch job
 
Similar Threads
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException
running java app as a batch and deployment
Spring Quartz Shutdown issue
How do I send mail withour user intervention?
Client API for Quartz