theothertomelliott
|
7002cd6810
Add tests for spec errors, noop on running start twice, and the blocking Run().
|
8 lat temu |
Bulat Gaifullin
|
f9402aa2d8
modified condition to select jobs to run in current loop
|
8 lat temu |
Bulat Gaifullin
|
65ba8ec6ba
added messages for asserts in tests
|
8 lat temu |
Kazuhisa Togo
|
64eb71ae78
Fix: Cron.run() was resetting the timezone
|
9 lat temu |
Wannes
|
17583deb80
Fixed remaining time.Now().Local()
|
9 lat temu |
Wannes
|
f6d519fc85
Make location non-modifiable, add test
|
9 lat temu |
Rob Figueiredo
|
0f39cf7ebc
Merge pull request #51 from blackskad/cron-job-panic-recovery
|
9 lat temu |
Travis Terry
|
1e80ac5674
test for #34
|
9 lat temu |
Thomas Meire
|
634cf55a82
Recover from panics in cron jobs
|
9 lat temu |
Byron Ruth
|
9ae18730f4
Return on Stop if cron is not running
|
10 lat temu |
Cory Jacobsen
|
eab026bed5
Fixed bug when calling Entries()
|
12 lat temu |
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 lat temu |
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 lat temu |
Rob Figueiredo
|
bd4b092e7c
Create/use a Job interface. Add a test.
|
13 lat temu |
Rob Figueiredo
|
f6244e2084
Operate in Local timezone (whoops), sort zero times to the end (and ignore them), and add some tests for this.
|
13 lat temu |
Rob Figueiredo
|
c2521cab59
Break Start() into Start() (runs in separate go routine) and Run() (previous behavior)
|
13 lat temu |
Rob Figueiredo
|
79c6cbe5a7
Add some tests for the job running.
|
13 lat temu |
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 lat temu |
Rob Figueiredo
|
f16e0d5188
Add seconds, N/step handling, named months/dows, checking activation at a time, a bunch of cron spec tests.
|
13 lat temu |