Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要更改 tomcat 服务器日期,以检查我的 cron 表达式是否会在需要的日期和时间触发。我怎样才能做到这一点?
谢谢!
您需要更改底层操作系统的日期。Tomcat 没有单独的时钟。之后您还应该重新启动tomcat..
Try to check in web.inf file if by any parameter is their from where you can change the date. Otherwise as earlier comment change the system date and restart the server.