在Quartz.NET/Quartz的时候会发生什么发生、时候、Quartz、NET

2023-09-04 04:51:59 作者:别回忆,因为回不去

...当一个作业时,其下的执行时间时,仍执行?

...when a job is still being executed when its next execution time occurs?

例如,如果我有发生,每30秒钟,30秒钟仍在运转后,将下一个实例开始发挥作用,或将它等待工作?

For example, if I have a job that occurs every 30 seconds, and after the 30 seconds it is still operating, would the next instance come into play or would it wait?

推荐答案

简单的答案是,一个新的工作会被执行,除非你是从IStatefulJob继承,在这种情况下,只有一个作业实例允许同时运行

The short answer is that a new job will be executed, unless you are inheriting from IStatefulJob, in which case only one job instance is allowed to run at a time.