reset - Quartz.NET fires a job multiple times -
i new quertz.net. inheriting windows service uses quartz.net schedule jobs.
there job schedules other jobs (say resetjobs: ijobs). downloads job list database nightly @ 9pm, deletes scheduled jobs, schedules/starts jobs in downloaded job list. 1 of jobs in downloaded list resetjobs itself.
when windows services starts, service downloads job list (including resetjobs) , schedules them. when resetjob fires @ cronjob time (0 0 21 1/1 * ? *), runs 10 times. service log shows 10 calls resetjob. service runs on single physical machine, not on clustered environment. [disallowconcurrentexecution] attribute on resetjob class doesn't help. resetjob still runs 10 times when fired.
i don't know if root cause when resetjob fires, deletes scheduler , schedule again. if bad design, know how properly.
thanks
Comments
Post a Comment