在Quartz.NET/Quartz的时候会发生什么 [英] What happens in Quartz.NET/Quartz when

查看:134
本文介绍了在Quartz.NET/Quartz的时候会发生什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

...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.

这篇关于在Quartz.NET/Quartz的时候会发生什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆