package com.z1.timer;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class Test {

    @Scheduled(cron = "*/3,6,8 * * * * ?")
    public void test(){

        System.out.println(1);

//        throw new RuntimeException();
    }
}
