Sufian
unread,Jul 11, 2011, 1:47:04 PM7/11/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Quartz.NET
Folks,
I create a job and associate a SimpleTrigger with the job to fire once
immidiately. I want the ability to monitor if my job is currently in
the waiting state (waiting for a Quartz scheduler to execute it) or
executing state or has completed its execution.
The behavior I am currently seeing with Quartz 1.0.3 doesn't allow me
to do that. I am running Quartz in a Clustered environment while using
the AdoJobStore. The behavior I see is as follows:
- if the trigger succeeds, the trigger + the job (JobDetails) get
deleted
- if the trigger fails, the trigger + the job are not get deleted and
the trigger is marked as "COMPLETE".
- even before a trigger actually starts execution, Quartz marks the
trigger's state as COMPLETE. This means that if a job is marked as
COMPLETE, may be the job is still being exuected OR the job actually
completed and failed.
Please tell me if the behavior I am seeing is expected? And if so, how
can I achieve my original goal to monitor if my job is waiting or
executing or has completed.
Thanks,
Sufian.