Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Add @minutely as pre-defined schedule #13

Closed
wants to merge 1 commit into from
Closed

Add @minutely as pre-defined schedule #13

wants to merge 1 commit into from

Conversation

mlafeldt
Copy link

@mlafeldt mlafeldt commented Jul 19, 2016

In addition to @hourly, @daily, etc.

@@ -278,7 +278,7 @@ func TestNextN_every5min(t *testing.T) {
for i, next := range result {
nextStr := next.Format("Mon, 2 Jan 2006 15:04:05")
if nextStr != expected[i] {
t.Errorf(`MustParse("*/5 * * * *").NextN("2013-09-02 08:44:30", 5):\n"`)
t.Errorf(`MustParse("*/5 * * * *").NextN("2013-09-02 08:44:30", 5):\n"`)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This was automatically formatted by gofmt.

@mlafeldt
Copy link
Author

@gorhill PTAL

@gorhill
Copy link
Owner

gorhill commented Jul 25, 2016

I don't see minutely defined anywhere as a valid cron expression, I rather to stick to what is documented elsewhere. Add to this that the English definition for minutely is:

With great attention to detail; meticulously

@mlafeldt
Copy link
Author

Alright.

@mlafeldt mlafeldt closed this Jul 25, 2016
@mlafeldt mlafeldt deleted the minutely branch July 25, 2016 12:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants