Skip to content

Commit

Permalink
Merge pull request #490 from team-yello/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
euije authored Mar 30, 2024
2 parents b38f7d5 + 7b5f2b3 commit e85d253
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ public class StatisticsTask {
private final SlackWebhookMessageFactory messageFactory;
private final SlackService slackService;
private final StatisticsService statisticsService;

@Scheduled(cron = "0 */30 * * * *", zone = ConstantUtil.GlobalZoneIdLabel)
public void writeUserGroupStatistics() {
statisticsService.writeUserGroupStatistics();
}


@Scheduled(cron = "1 0 0 * * *", zone = ConstantUtil.GlobalZoneIdLabel)
public void calculateDailyStatistics() throws IOException {
final ZonedDateTime now = ZonedDateTime.now(ConstantUtil.GlobalZoneId);
Expand Down

0 comments on commit e85d253

Please sign in to comment.