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

Programmer Humor

22746 readers
611 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
 

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
[–] swab148@lemm.ee 7 points 1 week ago (8 children)

Me running all my services in tmux

[–] Sherry@programming.dev 4 points 1 week ago (6 children)

that might be a stupid question, but why would you running all services in tmux be a bad idea? a co-worker of mine is doing exactly that right now, which is why I'm asking.

[–] swab148@lemm.ee 4 points 1 week ago (4 children)

It's not horrible, like it'll do the job just fine, it's just probably a better idea to use systemd and like, containers and whatnot, but I couldn't be arsed to fiddle with all that for Jellyfin, caddy reverse proxy, and two modded Minecraft servers, so shell scripts and tmux won the day. It takes a little extra time to restart everything after an update, and maybe I'll get the motivation to do things "correctly™" one day, but today is not that day.

[–] Sherry@programming.dev 2 points 6 days ago

thank you very much for the detailed response :)

load more comments (3 replies)
load more comments (4 replies)
load more comments (5 replies)