merari42@lemmy.world to Programmer Humor@programming.dev · 4 months agoWorks if manually restarted by an intern from time to timelemmy.worldimagemessage-square49linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageWorks if manually restarted by an intern from time to timelemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square49linkfedilink
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up0·4 months agoWell, here’s a sentence I haven’t been tempted to use before: “I believe that may be too many crontab entries.”
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up0·4 months agojust randomly delete 50 of them.
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up0·4 months agoYes. The strongest crontab entries will probably restore themselves. (For anyone reading along, this is sarcasm. Don’t do this.)
minus-squarefarngis_mcgiles@sh.itjust.workslinkfedilinkarrow-up0·4 months agoa crontab can regenerate from bisection to form two whole crontabs
minus-squarerumba@lemmy.ziplinkfedilinkEnglisharrow-up0·4 months agopshaw, just drop in there and combine a few /etc/cron.d/first25 /etc/cron.d/second25 …
minus-squarej_z@feddit.nulinkfedilinkarrow-up0·4 months agoThis is the way. Exactly what we did + migrated 80% of everything to k8s cronjobs and Argo workflows
minus-squareDickFiasco@sh.itjust.workslinkfedilinkarrow-up0·4 months agoAny problem in server administration can be solved with an additional crontab entry. Except for the problem of too many crontab entries.
minus-squareOpisek@piefed.blahaj.zonelinkfedilinkEnglisharrow-up0·edit-24 months agoAnd that’s why I added a crontab entry that periodically purges my cron configuration. That way, I’m forced to readd only the truly necessary cron jobs, successfully reducing the amount of crontab entries.
Well, here’s a sentence I haven’t been tempted to use before:
“I believe that may be too many crontab entries.”
just randomly delete 50 of them.
Yes. The strongest crontab entries will probably restore themselves. (For anyone reading along, this is sarcasm. Don’t do this.)
a crontab can regenerate from bisection to form two whole crontabs
pshaw, just drop in there and combine a few
/etc/cron.d/first25 /etc/cron.d/second25 …
This is the way. Exactly what we did + migrated 80% of everything to k8s cronjobs and Argo workflows
Any problem in server administration can be solved with an additional crontab entry. Except for the problem of too many crontab entries.
And that’s why I added a crontab entry that periodically purges my cron configuration. That way, I’m forced to readd only the truly necessary cron jobs, successfully reducing the amount of crontab entries.