我遇到了一个在 SSRS 中调度的问题。例如,如果我要将计划的开始时间设置为客户端的上午 8:00(夏令时),SSRS 会将其保存为 SSRS 服务器时间的上午 7:00(夏令时)。当 DST 应用时,计划开始时间将从客户端显示为上午 8:00。因此,时间表将从标准时间上午 7:00 开始。但是,当实际时间从客户端切换回 ST 时,客户端的排程开始时间将显示为上午 7:00,而排程将从 ST 上午 7:00 开始。我希望时间表在 ST 早上 8:00 开始,而不是早上 7:00。发生时间变化时调整时差的最佳方法是什么?谢谢。
1 回答
SSRS is using the host servers clock for its scheduling; it doesn't care where you are, where your recipient is, or what time zone it's in - when the servers clock hits 7:00, your subscription is going to run. The behavior you're seeking here is rather unusual.
To make it easier to manage long-term, consider creating a shared schedule object (or collection of them, if you need reports sent at other times), and having all of your subscription use the same shared object. That way, you'll only have to manage the schedule for all of your reports in one location.
To take it a step further, you could then set up a job to update that shared schedule's time in the ReportServer database during the DST conversions, but that may begin to overcomplicate the problem.