Commit Verlauf

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