Commit History

Auteur SHA1 Bericht Datum
  Rob Figueiredo 9aa5b7e823 cron: fix data races accessing the `running` state variable 6 jaren geleden
  Rob Figueiredo 15ec73dd77 cron.Stop: return a context that waits for outstanding jobs to complete. 6 jaren geleden
  Rob Figueiredo d279950244 cron/chain: add Chain & JobWrapper types to decorate job executions 6 jaren geleden
  Rob Figueiredo 0275a3e54f cron_test: fix bug in tests leading to flakiness 6 jaren geleden
  Rob Figueiredo 1cba5e61f9 cron: fix: removing a job causes the next scheduled job to run too late 6 jaren geleden
  Rob Figueiredo 86fcb220ef cleanup: remove unused function, add test coverage for cron.Entry 6 jaren geleden
  Rob Figueiredo f63d6e8bf3 test: fix data races in the test code 6 jaren geleden
  Rob Figueiredo d10bec7141 gofmt 6 jaren geleden
  Rob Figueiredo 1f8ec97c87 Functional options, Optional seconds, Overridable parser 6 jaren geleden
  Rob Figueiredo 1e507e218b v3: Merge 'master' and 'v2' to create a v3 branch, and add a go.mod file 7 jaren geleden
  theothertomelliott 7002cd6810 Add tests for spec errors, noop on running start twice, and the blocking Run(). 8 jaren geleden
  Bulat Gaifullin f9402aa2d8 modified condition to select jobs to run in current loop 8 jaren geleden
  Bulat Gaifullin 65ba8ec6ba added messages for asserts in tests 8 jaren geleden
  Kazuhisa Togo 64eb71ae78 Fix: Cron.run() was resetting the timezone 9 jaren geleden
  Wannes 17583deb80 Fixed remaining time.Now().Local() 9 jaren geleden
  Wannes f6d519fc85 Make location non-modifiable, add test 9 jaren geleden
  Rob Figueiredo 0f39cf7ebc Merge pull request #51 from blackskad/cron-job-panic-recovery 9 jaren geleden
  Travis Terry 1e80ac5674 test for #34 9 jaren geleden
  Thomas Meire 634cf55a82 Recover from panics in cron jobs 9 jaren geleden
  Byron Ruth 9ae18730f4 Return on Stop if cron is not running 10 jaren geleden
  Rob Figueiredo 2b666ea6e8 Return an EntryID when adding a job and allow it to be removed. 11 jaren geleden
  Cory Jacobsen eab026bed5 Fixed bug when calling Entries() 12 jaren geleden
  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 jaren geleden
  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 jaren geleden
  Rob Figueiredo bd4b092e7c Create/use a Job interface. Add a test. 13 jaren geleden
  Rob Figueiredo f6244e2084 Operate in Local timezone (whoops), sort zero times to the end (and ignore them), and add some tests for this. 13 jaren geleden
  Rob Figueiredo c2521cab59 Break Start() into Start() (runs in separate go routine) and Run() (previous behavior) 13 jaren geleden
  Rob Figueiredo 79c6cbe5a7 Add some tests for the job running. 13 jaren geleden
  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 jaren geleden
  Rob Figueiredo f16e0d5188 Add seconds, N/step handling, named months/dows, checking activation at a time, a bunch of cron spec tests. 13 jaren geleden