Rob Figueiredo
|
b024fc5ea0
Fix usage example
|
12 years ago |
Rob Figueiredo
|
34e2323819
Move docs into godoc
|
12 years ago |
Rob Figueiredo
|
f2c3314377
Return an error rather than panicking on invalid cron specs
|
12 years ago |
Rob Figueiredo
|
483223747f
Merge pull request #3 from cojac/entries_bug
|
12 years ago |
Cory Jacobsen
|
eab026bed5
Fixed bug when calling Entries()
|
12 years ago |
Rob Figueiredo
|
004a5153dd
Merge pull request #2 from tilinna/master
|
12 years ago |
Timo Linna
|
96833bd663
Fix daylight savings time test for non-EST/EDT zones
|
12 years ago |
Timo Linna
|
11878508a9
Remove unused function
|
12 years ago |
Timo Linna
|
d4118d68ea
Fix parser comment about the required fields
|
12 years ago |
Rob Figueiredo
|
0b0ad4621c
Update README.md
|
13 years ago |
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 years ago |
Rob Figueiredo
|
9f40a4b026
Improve the godoc
|
13 years ago |
Rob Figueiredo
|
7dacdfbb31
Update readme, add a note about thread safety, add a link to gopkgdoc
|
13 years ago |
Rob Figueiredo
|
1f4c26d7c0
Add Prev time record to the entry
|
13 years ago |
Rob Figueiredo
|
95e41d4d24
Synchronize access to the cron Entries by providing snapshots. Also, rewrite tests to use WaitGroup instead of blocking on cron.run()
|
13 years ago |
Rob Figueiredo
|
0de5d2922f
Update the readme for recent changes
|
13 years ago |
Rob Figueiredo
|
bd4b092e7c
Create/use a Job interface. Add a test.
|
13 years ago |
Rob Figueiredo
|
f6244e2084
Operate in Local timezone (whoops), sort zero times to the end (and ignore them), and add some tests for this.
|
13 years ago |
Rob Figueiredo
|
5d2c261c11
Truncate schedule times to the second.
|
13 years ago |
Rob Figueiredo
|
c10d7be19a
Merge pull request #1 from elimisteve/patch-1
|
13 years ago |
Steve Phillips
|
f18f4469ea
Missing double-quote :-)
|
13 years ago |
Rob Figueiredo
|
4ab9b1f2d8
Add license
|
13 years ago |
Rob Figueiredo
|
c2521cab59
Break Start() into Start() (runs in separate go routine) and Run() (previous behavior)
|
13 years ago |
Rob Figueiredo
|
79c6cbe5a7
Add some tests for the job running.
|
13 years ago |
Rob Figueiredo
|
260ece1235
cron Start(), Stop(), Add()
|
13 years ago |
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 years ago |
Rob Figueiredo
|
f16e0d5188
Add seconds, N/step handling, named months/dows, checking activation at a time, a bunch of cron spec tests.
|
13 years ago |
Rob Figueiredo
|
4beaaaea37
Rename entry to schedule. A cron entry can embed the schedule
|
13 years ago |
Rob Figueiredo
|
04ae887f17
Write helpful readme
|
13 years ago |
Rob Figueiredo
|
4152b5bf2f
Cron Entry creation + tests
|
13 years ago |