Sharepoint 计时器作业 - 该作业在哪台服务器上执行?
如果我将(计时器作业)功能安装到场内的 Sharepoint 前端服务器,哪台服务器执行该作业?他们全部?
该作业在作业级别锁定,并且 Execute 方法调用场中一台特定计算机上的 Web 服务,该计算机负责所有处理。我的问题是所有前端服务器是否都会尝试运行此作业?
或者网络人员想要在服务器场中提供一个新服务器,以便该作业不会耗尽主服务器的资源,但在我看来,我们将重复执行该作业。
使困惑。有人知道这个问题的答案吗?
If I install a (timer job) feature to a Sharepoint front end server within a farm, which server executes the job? All of them?
The job is locked at the job level, and the Execute method calls a web service on one specific machine on the farm, which handles all the processing. My question is whether all the front end servers will try and run this job?
Or network guys want to provide a new server in the farm, so that this job doesn't eat up the resources of the main server, but it sounds to me like we will duplicate the execution of the job.
Confused. Anyone know the answer to this question?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
计时器作业实际上可以部署到单个实例(如果您愿意,也可以部署到所有实例)。此链接提供了一个很好的答案:
通过构造函数进行计时器作业部署
The timer job can actually be deployed to a single instance (or to all of them if you like). This link provides a good answer:
Timer Job deployment via constructors
对于 SharePoint 2010,请参阅如何:在所有 Web 服务器上运行代码:
For SharePoint 2010, see How to: Run Code on All Web Servers: