Skip to content

Commit

Permalink
"Update cron schedule from midnight to 6:30 PM daily"
Browse files Browse the repository at this point in the history
  • Loading branch information
p-shubh committed Oct 12, 2024
1 parent 1c2db0c commit 9c3c144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {
go func() {
c := cron.New()
// Schedule the function to run every day at midnight (or adjust the schedule as needed)
c.AddFunc("0 0 0 * * *", func() {
c.AddFunc("0 30 18 * * *", func() {
leaderboard.AutoCalculateScoreBoard()
})

Expand Down

0 comments on commit 9c3c144

Please sign in to comment.