Skip to content

Commit

Permalink
๐Ÿ› Fix scheduled time
Browse files Browse the repository at this point in the history
  • Loading branch information
baebae02 committed Oct 1, 2024
1 parent 02d8db7 commit ae7b211
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ProblemCrawlingScheduler {
private final DailyProblemAdditionStrategy dailyProblemAdditionStrategy;
private final DiscordWebhookService discordWebhookService;

@Scheduled(cron = "0 20 00 * * WED") // ์ฝ”์Šค ๋ณ€๊ฒฝ ์š”์ฒญ์„ ์ฒ˜๋ฆฌํ•œ ํ›„, user problem์„ ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค.
@Scheduled(cron = "0 10 02 * * WED") // ์ฝ”์Šค ๋ณ€๊ฒฝ ์š”์ฒญ์„ ์ฒ˜๋ฆฌํ•œ ํ›„, user problem์„ ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค.
public void scheduleAddProblemsForThisWeek() {
try {
String result = dailyProblemAdditionStrategy.addProblems();
Expand Down

0 comments on commit ae7b211

Please sign in to comment.