• Bo7a@piefed.ca
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 days ago

    I’ve been doing this stuff for 30 years. The helpful blog post that took 8 pages of text to explain how to schedule a job just made me angry.

    I think I am finally into greybeard territory even though my beard made the change a few years ago. Damn.

    • esc@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      6
      ·
      2 days ago

      Why did it make you angry? Do you believe that there are other implementations that do the task better and simpler?

      • Bo7a@piefed.ca
        link
        fedilink
        English
        arrow-up
        12
        ·
        2 days ago

        I was mostly kidding. But the little bit that bothered me was the idea that ‘it is so simple here are 8 pages to barely scratch the surface.’

        cron works fine for me. And if I ever have to work in an environment where I can’t use cron and systemd is available, then of course I will use it. Thus far that has never been the case.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 days ago

          where I can’t use cron and systemd is available, then of course I will use it

          I argue for a 5% cost-of-living adjustment for bad software, and I make sure it’s a separate line item so they know it goes away when systemd goes.

        • psycotica0@lemmy.ca
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 days ago

          Yeah, I think it’s just the way the blog post was written. When I was reading it I saw the first few paragraphs was basically “here’s how to do Cron with it”, and then everything after that was “here’s a bunch of other features it has that cron doesn’t and how to use those”

          I don’t think that’s the wrong way to write this kind of article, but I could see it feeling overwhelming on a skim, because it may feel like you need to read the whole thing in order to get anything working. But actually only the start was necessary, and the rest was tasty feature pitch.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        4
        ·
        2 days ago

        Do you believe that there are other implementations that do the task better and simpler?

        All of 'em. If a joke took 8 pages to explain, it wouldn’t be funny either. Lennart’s cancer can go, thanks.

        • esc@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          3
          ·
          edit-2
          1 day ago

          Which all of them, which cron implementation is simpler and better? Do you even use cron? It’s not a joke, explanation on how to use cron takes > 8 pages. It should be in the hall of fame of the least accessible and hard to learn programs. Lennart cancer is one of the greatest things that happened to linux.

          • JTskulk@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            18 hours ago

            I’m not the OP, but I can explain how to use cron in like 4 sentences: Edit cron with the command crontab -e, this opens your text editor. If you want your jobs to have environment variables, put those at the top. Put this header at the top: # m h dom mon dow command It means minute, hour, day of month, month, day of week, command. Type in numbers for these values or a star which means all of them. Command is the command to be run.

            • esc@piefed.social
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              You can explain timers the same way.

              And then with your explanation it goes: cron job doesn’t execute for reason, crontab -l lists not all jobs, someone else put cron job in whatever directory like cron.daily, you’ve added or removed empty line at the end and now nothing works, debian crond and redhat cronie ahave different quirks, etc., etc.

              I’ve dealt with insane cron problems for so long that switching to timers was like *whoa i don’t need to suffer?*