孙永军 hai 1 ano
pai
achega
3aaefb3842
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/smcic/api/epg/job/EpgRefreshJob.java

+ 1 - 1
src/main/java/com/smcic/api/epg/job/EpgRefreshJob.java

@@ -16,7 +16,7 @@ public class EpgRefreshJob {
     @Resource
     private ChannelService channelService;
 
-    @Scheduled(cron = "0 */10 * * * *")
+    @Scheduled(cron = "0 * * * * *")
     public void refresh() {
         channelService.tvList().forEach(channel -> programService.setCache(channel.getChannelId()));
     }