• pinball_wizard@lemmy.zip
    link
    fedilink
    arrow-up
    33
    ·
    22 hours ago

    Well, here’s a sentence I haven’t been tempted to use before:

    “I believe that may be too many crontab entries.”

    • DickFiasco@sh.itjust.works
      link
      fedilink
      arrow-up
      17
      ·
      22 hours ago

      Any problem in server administration can be solved with an additional crontab entry. Except for the problem of too many crontab entries.

      • Opisek@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        18 hours ago

        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.

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      pshaw, just drop in there and combine a few

      /etc/cron.d/first25 /etc/cron.d/second25 …

      • j_z@feddit.nu
        link
        fedilink
        arrow-up
        1
        ·
        14 hours ago

        This is the way. Exactly what we did + migrated 80% of everything to k8s cronjobs and Argo workflows