Rob Figueiredo
|
f2c3314377
Return an error rather than panicking on invalid cron specs
|
пре 12 година |
Cory Jacobsen
|
eab026bed5
Fixed bug when calling Entries()
|
пре 12 година |
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 година |
Rob Figueiredo
|
9f40a4b026
Improve the godoc
|
пре 13 година |
Rob Figueiredo
|
1f4c26d7c0
Add Prev time record to the entry
|
пре 13 година |
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 година |
Rob Figueiredo
|
bd4b092e7c
Create/use a Job interface. Add a test.
|
пре 13 година |
Rob Figueiredo
|
f6244e2084
Operate in Local timezone (whoops), sort zero times to the end (and ignore them), and add some tests for this.
|
пре 13 година |
Rob Figueiredo
|
c2521cab59
Break Start() into Start() (runs in separate go routine) and Run() (previous behavior)
|
пре 13 година |
Rob Figueiredo
|
79c6cbe5a7
Add some tests for the job running.
|
пре 13 година |
Rob Figueiredo
|
260ece1235
cron Start(), Stop(), Add()
|
пре 13 година |
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 година |
Rob Figueiredo
|
f16e0d5188
Add seconds, N/step handling, named months/dows, checking activation at a time, a bunch of cron spec tests.
|
пре 13 година |
Rob Figueiredo
|
4152b5bf2f
Cron Entry creation + tests
|
пре 13 година |