Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Cron Background Job Failure: Why I Choose Heartbeat Detection Before Cost Attribution

An error tells a notification team where work broke; a missing heartbeat tells it that expected work never completed. I would keep both signals before assigning delivery costs to a scheduled run. Short answer: for a Node.js cron background job, capture exceptions or error logs and alert through a separate polling worker, then add an external Healthchecks-style monitor for missed runs. That gives…

In the article "Cron Background Job Failure: Why I Choose Heartbeat Detection Before Cost Attribution," the author emphasizes the importance of capturing both failure and missed completion signals for cron background jobs. They recommend using a separate polling worker to monitor for missing runs, in addition to capturing exceptions or error logs for failed jobs.

This approach allows for clear evidence of failure without treating either signal as proof of successful delivery. The author also suggests attributing delivery attempts and costs to a single run, using an application-owned identifier, and keeping unknown costs visible until sufficient evidence arrives.

Brief written by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

See today's edition · More options

More in Tech

Building a CI/CD Pipeline on AWS: Deploying a Dockerized 2048 Game with CodePipeline, CodeBuild, ECR, and ECS Fargate

* By Rashid • Tags: aws, devops, docker, cicd * I built a complete CI/CD pipeline on AWS: every git push to GitHub now builds a Docker image and deploys it to the cloud automatically, with no manual…

  • CI/CD pipeline automates Dockerized 2048 game deployment on AWS
  • CodePipeline triggers CodeBuild to build Docker image in ECR
  • ECS Fargate deploys container without managed servers

Twelve small sites, one developer: live cameras, public data, and the boring parts that keep them alive

I run a small portfolio of sites on my own: travel live-camera maps, job and learning portals built on public data, a regional real-estate listing site, and a local MCP server that connects a Chrome…

  • Live cameras on 12 small sites maintained for constant availability
  • Travel sites offer real-time public live cameras on a map
  • Mato MCP server connects Chrome browser to AI applications locally

When Enforcing TLS 1.3 Broke Our CI Builds

Originally published on Medium: https://medium.com/@seshikanthguduri/when-enforcing-tls-1-3-broke-our-ci-builds-d0b026e699eb The registry got more secure. The builds got red.

  • Enforcing TLS 1.3 on artifact registry broke CI builds
  • Registry tightened requirements to TLS 1.3, dropped older versions
  • Fix involved setting TLS client protocols and updating upload scripts

More from Sunday, 6 December 2026 →