Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnesh07 committed Nov 2, 2019
1 parent 896bb9b commit e440f9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ import (

func task() {
//Updates profiles and submissions
log.Println("HELLO")
}

func taskWithParams(a int, b string) {
//
}

func StartScheduling() {
gocron.Every(5).Seconds().Do(task)
// gocron.Every(5).Seconds().Do(task)
gocron.Every(1).Day().Do(task) //task to be done everyday
<- gocron.Start()
}

0 comments on commit e440f9e

Please sign in to comment.