Skip to content

Commit

Permalink
fix: change the schedule's start time
Browse files Browse the repository at this point in the history
  • Loading branch information
slowhigh committed Jun 4, 2024
1 parent 4f234f0 commit a7a05b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func main() {

slog.Info("current time", "time", time.Now())

gocron.Every(1).Day().At("10:17").Do(func() {
slog.Info("start cron", "time", *location)
gocron.Every(1).Day().At("09:00").Do(func() {
slog.Info("start schedule", "time", *location)

var subscriptionArr []entity.Subscription

Expand Down

0 comments on commit a7a05b9

Please sign in to comment.