Rob Figueiredo
|
0f01e6b177
parser: fix combining of Dow and Dom
|
6 vuotta sitten |
Rob Figueiredo
|
4813ba2496
Recommend CRON_TZ=(Location) to specify the time zone of a schedule.
|
6 vuotta sitten |
Rob Figueiredo
|
46e5be361c
parser: reject descriptors if not configured to accept them
|
6 vuotta sitten |
Rob Figueiredo
|
1f8ec97c87
Functional options, Optional seconds, Overridable parser
|
6 vuotta sitten |
Rob Figueiredo
|
1e507e218b
v3: Merge 'master' and 'v2' to create a v3 branch, and add a go.mod file
|
7 vuotta sitten |
Bulat Gaifullin
|
65ba8ec6ba
added messages for asserts in tests
|
8 vuotta sitten |
Maciej Szulik
|
092df9755a
Add check for empty spec
|
8 vuotta sitten |
Luke Scott
|
470ac64214
Merge branch 'master' into parser-options
|
9 vuotta sitten |
Maciej Szulik
|
fcc395c6f4
Refactor parsing to return error instead of using panic/recover
|
9 vuotta sitten |
Maciej Szulik
|
b43eae7392
Add method capable of parsing standard cron spec
|
9 vuotta sitten |
Rob Figueiredo
|
cf42b3d72f
Make Seconds optional, to comply with the Unix cron spec.
|
11 vuotta sitten |
Rob Figueiredo
|
95388f1e2d
Small doc fixes
|
11 vuotta sitten |
Rob Figueiredo
|
c0173a8cbd
Update docs and tests, and clean up implementation a bit.
|
11 vuotta sitten |
Dennis Francis
|
a7d924fa04
added Timezone support, made Dow mandatory and Seconds optional to support standard GNU/Linux crontabs
|
11 vuotta sitten |
Rob Figueiredo
|
f2c3314377
Return an error rather than panicking on invalid cron specs
|
12 vuotta sitten |
Rob Figueiredo
|
c4429b3357
Make the Cron Schedule an interface and add a generic Schedule routine. Add a constant delay schedule with an interface of either Every(time.Minute) or a spec of "@every 5m"
|
13 vuotta sitten |
Rob Figueiredo
|
9f40a4b026
Improve the godoc
|
13 vuotta sitten |
Rob Figueiredo
|
78f5232d84
Add Schedule.Next() to find the next actiation time. Separate schedule methods from spec parsing functions. Change cron activation tests to a test of Next()
|
13 vuotta sitten |