merari42@lemmy.world to Programmer Humor@programming.dev · 2 days agoWorks if manually restarted by an intern from time to timelemmy.worldexternal-linkmessage-square56fedilinkarrow-up1637arrow-down14
arrow-up1633arrow-down1external-linkWorks if manually restarted by an intern from time to timelemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square56fedilink
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up33·2 days agoWell, here’s a sentence I haven’t been tempted to use before: “I believe that may be too many crontab entries.”
minus-squareDickFiasco@sh.itjust.workslinkfedilinkarrow-up18·2 days 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-up8·edit-22 days 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.
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up9·2 days agojust randomly delete 50 of them.
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up16·2 days 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-up4·2 days agoa crontab can regenerate from bisection to form two whole crontabs
minus-squarerumba@lemmy.ziplinkfedilinkEnglisharrow-up2·2 days agopshaw, just drop in there and combine a few /etc/cron.d/first25 /etc/cron.d/second25 …
minus-squarej_z@feddit.nulinkfedilinkarrow-up2·1 day agoThis is the way. Exactly what we did + migrated 80% of everything to k8s cronjobs and Argo workflows
Well, here’s a sentence I haven’t been tempted to use before:
“I believe that may be too many crontab entries.”
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.
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