场景:将不同机器的执行器注册到调度器时由于不同的机器的系统时间存在误差导致任务无法执行!
报错信息如下:
msg:com.xxl.rpc.util.XxlRpcException: The timestamp difference between admin and executor exceeds the limit.
截图:
解决办法:保证各个调度器的时间和控制中心的系统时间保持一致。
如何修改系统时间?
参考博客:https://blog.csdn.net/chen_lay/article/details/87805879
(一般只要把所有的服务器同时执行下ntpdate ntp1.aliyun.com 就行了)