Catching abandoned cron jobs: a one-liner that flags entries whose script file no longer exists on disk
Last spring I was cleaning out an old VPS and found three crontab entries pointing at scripts that didn’t exist anymore. Two had been deleted during a refactor in 2022; one was a project I’d rm -rf‘d a year …