mozilla/socorro — pull request #535 by peterbe (2012-04-27 23:33:57+00:00)
Title: bug749019 - new crontabber 1.1 with automatic backfill

**Major changes:**

* *Everyhing* is now non-native UTC dates with timezone information

* Every job records a `last_success` which is used for backfilling

* Two new base classes to inherit from when writing apps:

* PostgresCronApp

* PostgresBackfillCronApp

* (any the old one renamed to) PostgresTransactionManagedCronApp

* Backfilling

* Upon running a job, it compares `last_success` with `last_run` and re-runs against those dates within that interval

* If backfilling over multiple old dates and an error happens mid-way on that, the `last_success` date is moved up accordingly

**Excuses:**

* There is no base class for Postgres jobs that are transaction managed (e.g. commit/rollback done by crontabber) **and** backfillable

* I haven't updated the docs yet

* There is no sample job that explains how to add a `lag` option (as per Josh's request).