Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
/ tattletale Public archive

Stop snitching. Track your cronjobs. Be the best, around. Nothing's ever gonna keep you down.

License

Notifications You must be signed in to change notification settings

mckern/tattletale

Repository files navigation

Tattletale: stop snitching.

Question: How do you know when a cronjob finished? Better yet, how do you know that ALL of your cronjobs finished? Most of the time, you just don't. Sure, cron sends some emails but most admins file those in the bitbucket. Most of the time we find out that a cronjob failed because whatever we were counting on it doing didn't happen.

Tattletale screenshot

And thus at Monitorama 2013 hackathon, Tattletale was born. Register your job with Tattletale, then call the unique URL Tattletale provides (or the one you specified) at the end of your job (if it completes successfully, of course), and Tattletale does the rest. Each job has a state, and each state (ok, late, paused, and pending) has its own visual appearance, making it easy to tell what's going on with a glance.

Here's a contrived (and useless) example in Bash:

#!/bin/bash

cat<<EOM
Billy Quizboy: White! White, I'm being kidnapped by Zeus!
Pete White: That's what I've been telling you. That's why you should eat more fiber.
EOM

curl --silent --location http://tattletale.mydomain.local/masterbillyquizboy
exit 0

Will Tattletale ever manage cron jobs?

Tattletale is intended to roll-up completion status for the cron jobs you've already got, not manage the cron jobs that have grown unwieldy. If you've got a need for managing cron jobs (where they run, when they run, who they run as, or worse: building complex workflows based on the completion status of your job chain) then Tattletale is not the tool for you! Might I suggest Chronos? It's so much more than Tattletale could ever, ever be.

Licensing

Tattletale is licensed under the MIT license, and it's a work in progress. It was written to scratch an itch, and as such it has some rough edges.

About

Stop snitching. Track your cronjobs. Be the best, around. Nothing's ever gonna keep you down.

Resources

License

Stars

Watchers

Forks

Packages

No packages published