File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/main/kotlin/nexters/weski/batch Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11FROM openjdk:17-jdk-slim
22
3+ # tzdata ν¨ν€μ§ μ€μΉ λ° μκ°λ μ€μ
4+ RUN apt-get update && apt-get install -y tzdata && \
5+ ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
6+ echo "Asia/Seoul" > /etc/timezone
7+
38EXPOSE 8080
49
510ARG JAR_FILE=build/libs/*.jar
@@ -8,4 +13,4 @@ COPY ${JAR_FILE} weski-app.jar
813CMD java -Dserver.port=8080 \
914 -Dspring.datasource.username=master \
1015 -Dspring.datasource.password=master \
11- -jar /weski-app.jar
16+ -jar /weski-app.jar
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ class WeatherScheduler(
1212 externalWeatherService.updateCurrentWeather()
1313 }
1414
15- @Scheduled(cron = " 0 30 3 * * *" )
15+ @Scheduled(cron = " 30 0 0 * * *" )
1616 fun scheduledDailyWeatherUpdate () {
1717 externalWeatherService.updateDailyWeather()
1818 }
1919
20- @Scheduled(cron = " 0 10 5 * * *" )
20+ @Scheduled(cron = " 0 1 0 * * *" )
2121 fun scheduledHourlyAndDailyUpdate () {
2222 externalWeatherService.updateHourlyAndDailyWeather()
2323 }
You canβt perform that action at this time.
0 commit comments