English 中文(简体)
季度硬件24
原标题:quartz hardware clock

I am using quartz in my project and have one cron job. The cron expression I give the trigger (CronTrigger) as the running parameter is alighnt with the pc s hardware clock. Any ideas how to tell the job to look at the software clock instead ?

例如,我有一个任期一年的工作,工作时间恰好在10时,有些工作日我们转向夏天,我希望能自动更新这项艰巨的工作。

罗马

问题回答

简而言之,always use UTC for system time (and time Zone)

很严重的是,这涉及诸如节日 Sav节式节减规则等问题,有助于确保时间上接近于单州的增长(即时间上等于“jump”后退,打破了许多对依赖时间的软件的假设),也涉及跨时区服务器和(或)用户(即地理分布的计算机和(或)用户)。

* 这里的情况,我忽略了

由于这个问题似乎与计算机系统有关,也涉及与本组织有关的工具(即cron),我认为这个问题不适合于StackOverflow.com。 请考虑将其移至





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...