@Scheduled(cron = "0 2/1 * * * ?") public void ru1(){ String s=""; Integer.parseInt(s); }
这个代码为什么在运行时没有异常抛出?
这个代码执行肯定格式错误了,你现在没有抛出异常也是是你job配置没有成功