• gmtom@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    12 hours ago

    Oh man, you guys should see what I was cooking up at my old place.

    Head office too shitty to give us an actual asset management solution, but we did have full access to the Microsoft suite, so i used a SharePoint lists as databases, powerapps apps running on iPads for all the data entry ux and then like two dozen hacked together power automate flows linking them all together as well as taking any Info out of the actual IT systems head office used and since we didn’t have API access to those system any data feeding back in to them would be in the form of automated emails that the poor 1st line techs in head office would have to sort through and process manually.

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    43
    ·
    20 hours ago

    I don’t see the alias in your .bashrc

    yeah, um, about that. I have no idea where it comes from. We can type alias and see what it is, so if it’s ever lost, we can recreate it, but I looked for 30 minutes yesterday even did a grep -R and I have NO IDEA where it comes from, or why it’s named electricboogaloo

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      33
      ·
      20 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
        ·
        20 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
          16 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
        ·
        20 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
          ·
          12 hours ago

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

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      18 hours ago

      At some point it may be good to migrate to airflow or something similar.

      It’s not the number of entries that makes it bad. It’s the fact that if you run crontab, they are gone…

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        15 hours ago

        At first I thought you missed the -r. Then I checked. Defaulting to STDIN here is very, very dumb, IMHO. Almost as bad as putting the “edit” flag right next to the “delete everything without confirmation” flag on a Western keyboard (-e vs -r).

        • marcos@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          15 hours ago

          Crontab is a really badly designed program that we just can’t fix because everybody depends on its WFTs for something.

        • marcos@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          17 hours ago

          Make the rule start a secondary cron system. Otherwise it won’t run after you erase the crontab.

          • dondelelcaro@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            edit-2
            16 hours ago

            Here you go:

            with-lock-ex -q /path/to/lockfile sh -c '
            while true; do
                crontab cronfile;
                sleep 60;
            done;'
            
    • cenzorrll@lemmy.ca
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      21 hours ago

      Ha, loser.

      *glances over at 6 bash scripts and 2 cron jobs*

      Not you, you’re perfect

  • AnanasMarko@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    24 hours ago

    Since I’m somewhat of a simpleton… isn’t that how pipelines actually work? The only difference being, they’re all (scripts) available from a centralized system and triggered i.e. with webhooks?

    Instead of a local script on a server, the system opens i.e. a ssh session and runs the script step by step remotely?

    So is that the joke or am I missing something?

    • orhtej2@eviltoast.org
      link
      fedilink
      English
      arrow-up
      13
      ·
      23 hours ago

      Pipelines are meant to be versioned an replicable, as opposed to a hack job that only runs on a forgotten server in someone’s closet depicted in the meme.

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      18 hours ago

      As much as I love the magic of working and attending meetings in your undies, I’ve found I’m a far better professional if I’m actually fully dressed while I work. And when I go into the office I always wear something with a collar even at workplaces where that’s overdressed. It just puts me in the right mindset to be the best I can be at what I do

      • phutatorius@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        18 hours ago

        I’m always fully dressed while working remotely. That is, if wearing a bow on my winkie counts as “dressed.”