SharePoint 计时器作业时间距服务器时间为 -2 小时
我在 SP Foundation 服务器上安装了几个自定义计时器作业。服务器在 Virtual Box Server 08R2 中运行,它已添加到我的域中,并且服务器上的时间与我本地计算机上的时间同步。我遇到的问题是,计时器作业显示的运行时间比我的服务器、本地计算机、域显示的时间晚 2 小时。这让我在测试中感到一些悲伤。我不确定它是如何进入这种状态的,而且我似乎无法找到一种方法将其恢复到与它们正在运行的服务器同步的计时器作业。有什么想法吗?
编辑: 附加信息。我在计时器作业中添加了一条日志记录语句,以将 DateTime.Now 的结果输出到共享点日志中。该调用的结果与服务器时间相同,尽管计时器作业仍在中央管理控制中,但看起来好像落后了 2 小时。
I have a couple of custom timer jobs that I have installed on my SP Foundation server. The server is running in Virtual Box, Server 08R2, it has been added to my domain and the time on the server appears in sync with the time on my local machine. The problem I have is that the time that the timer jobs say they are running is 2 hours behind what my server, local machine, domain say the time is. This is causing me some grief in my testing. I am not sure how it got into this state and I can't seem to find a way to get it back to the timer jobs being in synch with the server they are running on. Any ideas?
Edit:
Additional information. I added a logging statement into the timer job to output the result of DateTime.Now to the sharepoint log. The result of that call is the same as the server time, even though still in the central admin control the timer jobs appear as if they are running 2 hours behind.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)