@Scheduled(cron = "0 */1 * * * ?")
	@SchedulerLock(name = "lock-job2", lockAtMostFor = "10s")
	public void job2() throws InterruptedException {
		logger.info("time=" + DateTime.now().toString("YYYY-MM-dd HH:mm:ss") + " do job2...");
		TimeUnit.SECONDS.sleep(1L);
	}
run with lock, only one instance running at the same time.

@throws InterruptedException interrupted exception
spring-cloud-alibaba-examples/spring-cloud-scheduling-example/src/main/java/com/alibaba/cloud/examples/schedule/job/SimpleJob.java