<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rudy</title>
    <description>The latest articles on DEV Community by Rudy (@pingrudy).</description>
    <link>https://dev.to/pingrudy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3856352%2F07b32d38-08d7-48c5-b8ca-0a64320895e2.png</url>
      <title>DEV Community: Rudy</title>
      <link>https://dev.to/pingrudy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pingrudy"/>
    <language>en</language>
    <item>
      <title>I spent days debugging a cron job that was "working fine"</title>
      <dc:creator>Rudy</dc:creator>
      <pubDate>Wed, 01 Apr 2026 20:55:59 +0000</pubDate>
      <link>https://dev.to/pingrudy/i-spent-days-debugging-a-cron-job-that-was-working-fine-565m</link>
      <guid>https://dev.to/pingrudy/i-spent-days-debugging-a-cron-job-that-was-working-fine-565m</guid>
      <description>&lt;p&gt;My storage bill kept climbing. The cron job that was supposed to clean up outdated file records was running on schedule with no errors in the logs.&lt;/p&gt;

&lt;p&gt;My app, which was supposed to automatically delete expired media files during the nightly cron job, wasn’t actually doing it.&lt;/p&gt;

&lt;p&gt;It took me days to figure out that the job was completing without deleting anything. It was failing when it tried to delete a database row that became invalid after a migration update. I had it hosted on DigitalOcean, and even their logs showed no errors.&lt;/p&gt;

&lt;p&gt;Zero alerts. Zero indication anything was wrong. I only caught it when the bill got bad enough that I started digging.&lt;/p&gt;

&lt;p&gt;After fixing it, I started thinking, how do I make sure this never happens again? I did what I always do, I reinvented the wheel. I built my own health check cron job wrapper. A daily cron job report card with a health check endpoint, alerting logic, everything. It took longer than I want to admit.&lt;/p&gt;

&lt;p&gt;Then after I built it, I figured someone must have already solved this. I looked at what was out there. Most monitoring tools check if a process is alive or if a URL responds. That is not the same as knowing if your cron job actually did something meaningful or returned the information you care about.&lt;/p&gt;

&lt;p&gt;Then I realized this is a problem every developer hits eventually, and nobody should have to build a custom solution for it.&lt;/p&gt;

&lt;p&gt;So I built PingRudy.com to see if anyone is interested.&lt;/p&gt;

&lt;p&gt;The tool is simple. It can be as easy as one line of code to add a health check, or you can get detailed updates about your jobs.&lt;/p&gt;

&lt;p&gt;Check it out at PingRudy.com.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>productivity</category>
      <category>webdev</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
