Commit History

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