There's some code I wrote 30 years ago that's still running inside a text-based, multiplayer, internet game (LPMUD). I wouldn't say it's useful,
per se, but it'll probably continue to run for at least several more years.
https://en.wikipedia.org/wiki/LPMud