English 中文(简体)
季度从工作到就业岗位的参数
原标题:pass parameter from job to joblistener in quartz

我正在利用季奇安排我的工作。 有时,我需要听从会后做一些事情,但有时我不需要。

我能否将参数从工作到joblistener?

最佳回答

JobExecutionContext.setResult(getResult(<>/code>,可在工作和听众中加以利用。

问题回答

暂无回答




相关问题
Trigger function when Undeploying application

How do I automatically trigger Java function to stop Quartz scheduler jobs when I deploy/undeploy/redeploy JEE5 application in Glassfish.

Quartz API error

When I compile and run my application on my local machine with specs Windows XP sp2, JDK 5u11, I get no error. But when I try to run this application (compiled on Windows XP) on a Linux Debian distro, ...

How to call a CronTriggerBean stored in a JDBCJobStore?

I need some help. I am using Quartz Scheduling and have configured a CronTrigger to run each night at 10PM. I am using the JDBCJobStore to take advantage of the Clustering. The job runs at 10PM ...

How do I start Quartz in standalone mode?

According to its feature list "Quartz can run as a stand-alone program (within its own Java Virtual Machine), to be used via RMI". I could not find any documentation how to start it in stand-alone ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...