Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
youngxhui authored Jun 15, 2022
1 parent 8a862df commit dd35fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "github.com/bamzi/jobrunner"

func main() {
jobrunner.Start() // optional: jobrunner.Start(pool int, concurrent int) (10, 1)
jobrunner.Schedule("@every 5s", ReminderEmails{})
jobrunner.Schedule("@every 5s", ReminderEmails{}, "emails") // support user define job name
}

// Job Specific Functions
Expand Down

0 comments on commit dd35fd2

Please sign in to comment.