Skip to content

Commit

Permalink
Feat: update time zone with utc
Browse files Browse the repository at this point in the history
  • Loading branch information
junho100 committed Nov 25, 2024
1 parent ee17e9a commit 5668dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/infrastructure/cron/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func NewCronJob(notificationService service.NotificationService, telegramClient
}

func (c *CronJob) Start() {
// 매일 오전 12시 30분에 실행 (한국 시간)
c.cron.AddFunc("0 30 0 * * *", func() {
// 매일 오후 3시 45분에 실행
c.cron.AddFunc("0 45 15 * * *", func() {
// 1. 오늘 올라온 모든 공지사항 크롤링 및 DB 저장
deptNotices, err := c.crawler.FetchDepartmentNotices()
if err != nil {
Expand Down

0 comments on commit 5668dcb

Please sign in to comment.