how to start a job any time in Quartz.net?

后端 未结 1 1927
孤街浪徒
孤街浪徒 2021-01-22 13:53

i need your help to learn Quartz.Net. But every sample is the same as each other. i want to startTime: 07.03.2012 13:28:10 but not working. Not return error code.how to start th

相关标签:
1条回答
  • 2021-01-22 14:31

    Quartz.Net expects that you pass in dates and times in UTC. Try changing this line:

    parsedStartTime 
    

    to

    parsedStartTime.ToUniversalTime())
    

    or, make sure that parsedStartTime is in UTC before passing it in.

    0 讨论(0)
提交回复
热议问题