Skip to content

Commit

Permalink
docs: *
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Apr 25, 2023
1 parent 1460f93 commit 55229dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/tasker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func main() {
})

// run task without overlap, set concurrent flag to false:
concurrent := false
taskr.Task("* * * * * *", , tasker.Taskify("sleep 2", tasker.Option{}), concurrent)
concurrent := false
taskr.Task("* * * * * *", , tasker.Taskify("sleep 2", tasker.Option{}), concurrent)

// every 10 minute with arbitrary command
taskr.Task("@10minutes", taskr.Taskify("command --option val -- args", tasker.Option{Shell: "/bin/sh -c"}))
Expand Down

0 comments on commit 55229dc

Please sign in to comment.