Skip to content

Commit

Permalink
Update doc.go to fix description of @every
Browse files Browse the repository at this point in the history
  • Loading branch information
robfig authored May 5, 2018
1 parent 2f08104 commit b41be1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ or cron is run. This is supported by formatting the cron spec like this:
where "duration" is a string accepted by time.ParseDuration
(http://golang.org/pkg/time/#ParseDuration).
For example, "@every 1h30m10s" would indicate a schedule that activates immediately,
and then every 1 hour, 30 minutes, 10 seconds.
For example, "@every 1h30m10s" would indicate a schedule that activates after
1 hour, 30 minutes, 10 seconds, and then every interval after that.
Note: The interval does not take the job runtime into account. For example,
if a job takes 3 minutes to run, and it is scheduled to run every 5 minutes,
Expand Down

0 comments on commit b41be1d

Please sign in to comment.