定时任务设置相同的执行时间会有影响吗?
我有5个任务,都需要每一分钟执行一次,写的cron都一样:0 0/1 * * * ?。
但有时候会不定时的触发:This scheduler instance (zhoufeifan1539661179480) is still active but was recovered by another instance in the cluster. This may cause inconsistent behavior.这个问题;
是因为两个任务同时执行造成的问题吗?然后看到的结果也不是5个同时每分钟执行一次。。。
我不确定应该如何分配。前提是5个任务都要每分钟执行一次;