You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
514 B
26 lines
514 B
package {{ package.Common }}.job;
|
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
/**
|
|
* @Description:
|
|
* @Author: {{author}}
|
|
* @Date: {{date}}
|
|
* @Wechat: {{ wechat }}
|
|
*/
|
|
@Component
|
|
public class TestJob {
|
|
private static Logger logger = LoggerFactory.getLogger(TestJob.class);
|
|
|
|
@XxlJob("testJobHand")
|
|
public void testJobHand() {
|
|
logger.info(">>>>>>>>>>> testJobHand");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|