3、在定時方法上寫上:@Scheduled(cron = "0 0/1 * * * ?"),該cron 表示式為每一分鐘執行一次方法。 二、@Scheduled用法. 1、fixedDelay. @Scheduled( ...
確定! 回上一頁