694

So today I discovered that there's a cron job that holds non-reproducible state that died, and now our system is fucked.

The cron job doesn't live inside any source control. This morning it entered a terminal state, and because it overwrites its state there's no way to revert it.

I'm currently waiting for the database rollback and have rewritten it in a reproducible/idempotent way.

you are viewing a single comment's thread
view the rest of the comments
[-] someguy3@lemmy.world 11 points 4 days ago
[-] wise_pancake@lemmy.ca 36 points 4 days ago

Cron is a scheduler to run a program at a set frequency

[-] JasonDJ@lemmy.zip 15 points 4 days ago

The executive branch of the US government.

[-] NewDark@lemmings.world 14 points 4 days ago

Scheduled job, but implies that it uses a cron format.

[-] ulterno@programming.dev 0 points 2 days ago

An older way of automating stuff.

It's not there by default nowadays, because systemd tends to fulfil their requirements.

this post was submitted on 16 Apr 2025
694 points (99.4% liked)

Programmer Humor

22616 readers
1139 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS