diff --git a/ad-platform-manage/ad-platform-management/src/main/resources/config/application.yml b/ad-platform-manage/ad-platform-management/src/main/resources/config/application.yml index b3c6fdb3..638c1612 100644 --- a/ad-platform-manage/ad-platform-management/src/main/resources/config/application.yml +++ b/ad-platform-manage/ad-platform-management/src/main/resources/config/application.yml @@ -9,7 +9,7 @@ spring: freemarker: check-template-location: false profiles: - active: dev + active: prod jackson: time-zone: GMT+8 data: diff --git a/ad-platform-services/ad-platform-source/src/main/java/com/baiye/task/GenderConversionTask.java b/ad-platform-services/ad-platform-source/src/main/java/com/baiye/task/GenderConversionTask.java index 3d79e0dd..c38faaa3 100644 --- a/ad-platform-services/ad-platform-source/src/main/java/com/baiye/task/GenderConversionTask.java +++ b/ad-platform-services/ad-platform-source/src/main/java/com/baiye/task/GenderConversionTask.java @@ -55,7 +55,7 @@ public class GenderConversionTask { private final GenderRecordService genderRecordService; - @Scheduled(cron = "0 0/30 0-6 * * ? ") + @Scheduled(cron = "0 0/20 0-6 * * ? ") @Transactional(rollbackFor = Exception.class) public void exchangeResource() { String fileUrl = deliveryProperties.getFileUrl();