• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

Open Source Scheduler?

Does anyone have any suggestions for an open source scheduler maybe written or Java that will allow for scheduling batch jobs and also has the capability to watch for events to kick off jobs?

The built in scheduler will not suffice.

Thanks,

NG,
0
nike_golf
Asked:
nike_golf
  • 8
  • 4
1 Solution
 
for_yanCommented:
0
 
for_yanCommented:

check also this - they are talking about Quartz and some other

http://stackoverflow.com/questions/2750226/what-is-a-good-open-source-job-scheduler-in-java
0
 
for_yanCommented:

and this is close but maybe something additional:
http://stackoverflow.com/questions/1465607/java-scheduler
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
nike_golfAuthor Commented:
All those seem to be Inly able to schedule java applications. Correct me if I'm wrong...

I need to be able to schedule .exe and .bat jobs do any if those offer that?
0
 
nike_golfAuthor Commented:
Something like zcron looks promising but since I was hoping to run this on my desktop at work it's a bust...
0
 
for_yanCommented:

But you can wrap  .exe and .bat in Java Runtime.getUntiame().exec(...)

Quartz also has NativeJob facility to run native job, like .exe

Maybe z-cron is more suitable if you are not focused so much on java
0
 
nike_golfAuthor Commented:
Maybe I'm overlooking Quartz...

Do you have an example of how I would execute a .bat in Quartz?

NG,

0
 
for_yanCommented:


I saw such question about executing .exe file:
http://stackoverflow.com/questions/2806612/quartz-scheduler-not-running-the-task

JobDataMap map = new JobDataMap();
map.put(NativeJob.PROP_COMMAND, "c:/WINDOWS/notepad.exe");

In this question the author could not see notapd starting, but ther is a provision.

But there is not much doubt once you can execute any java method, say like here
http://www.roseindia.net/quartz/quartz-scheduler-tutorial.shtml
 so you can use Runtime.getRuntime().exec(...)
and start exe file and batch file in this way from within java code.


There is also Quartz.NET which should definitely start not only java jobs:
http://quartznet.sourceforge.net/faq.html

though it seems to me that z-cron looks more popular than Quartz.NET






Besu

0
 
for_yanCommented:
But if most of your jobs will not be based on java - I'd rather suggest to use non-java
scheduler.
0
 
nike_golfAuthor Commented:
Since this is a Windows 7 machine I don't really see a lot of options.

Quartz and Quarts.net look promising as well as Zcron.

Thanks for all the help and suggestions.
0
 
for_yanCommented:
You are always welcome.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 8
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now