The Final Crontab: an introduction to crontabber

I gave a talk at Monitorama today about crontabber. (slides)

My coworker tells me that I left out the part of “why you should care” about crontabber from my first few slides. So here’s a list:

  • Retries jobs on failure automatically
  • Dependency-aware, and won’t execute child jobs that depend on parents that have failed
  • Nagios integration including support for WARNINGs and CRITICALs, and configurable escalation from WARNING to CRITICAL (e.g. 3 WARNINGS == CRITICAL).

Those three are probably the top features sysadmins who are not happy with how cron is managing jobs wish they had.

Crontabber needs at least Python 2.6, Postgres 9.2, is FOSS and being used in production. We’ve used a version of the code since February 2013, and currently have the python module version you can install with pip install crontabber is currently running in our stage environment.

Let us know what you think!

  • ZoubIWah

    “no more shellscripts”

    well then, its dead to me

    • http://chesnok.com/daily Selena Deckelmann

      You could run a shell script from a python system call, easily. :) One of the goals of this project for us was to make everything testable so that we’d have documentation of inputs and outputs for even things that we though of as “just shell scripts” previously.

  • Pingback: Advice to New Programmers from Selena Deckelmann - New Relic blog