{"id":308,"date":"2021-04-27T10:15:38","date_gmt":"2021-04-27T10:15:38","guid":{"rendered":"https:\/\/blog.spike.sh\/2021\/04\/27\/introduction-to-cron-job-monitoring-with-healthchecks\/"},"modified":"2025-06-06T13:49:45","modified_gmt":"2025-06-06T08:19:45","slug":"introduction-to-cron-job-monitoring-with-healthchecks","status":"publish","type":"post","link":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/","title":{"rendered":"Introduction to Cron Job Monitoring with Healthchecks"},"content":{"rendered":"\n\n\n<p class=\"wp-block-paragraph\">Software teams use cron jobs to handle many important tasks like database backups and maintenance scripts. Cron jobs make sure that your applications are behaving as they should, but cron job failures are often silent and not noticed until the problem becomes worse. In this guide, we will learn how to stay aware about cron job failures by using <a href=\"https:\/\/healthchecks.io\/\">Healthchecks<\/a>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-new-cron-job-check\"><strong>Create a new cron job check<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, sign up for an account on Healthchecks and create a new check. Healthchecks will create a check with default values which you can change based on your needs. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"468\" data-attachment-id=\"826\" data-permalink=\"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/healthchecks-schedule\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-schedule.png\" data-orig-size=\"795,468\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"healthchecks&amp;#8212;schedule\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-schedule.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-schedule.png\" alt=\"\" class=\"wp-image-826\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-schedule.png 795w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-schedule-300x177.png 300w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-schedule-768x452.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><figcaption class=\"wp-element-caption\">Simple cron schedule in Healthchecks<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The most important part is adding the schedule of the cron job you want to monitor to the new cron check. Healthchecks provides a way to configure a simple repeating schedule (shown below). You can also use the cron expression from your cron job for more granular schedules. Tip: To create cron expressions easily, you can use <a href=\"https:\/\/crontab.guru\/\">Crontab guru<\/a> in the future. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also specify a <strong>grace time<\/strong>, which is the amount of time Healthchecks should wait for a ping from your cron job before raising an alert. This can be helpful to avoid false alerts from cron jobs that take some time to execute. <\/p>\n\n\n<div class=\"wp-block-image kg-card kg-image-card kg-card-hascaption\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"691\" data-attachment-id=\"827\" data-permalink=\"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/healthchecks-cron-details\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details.png\" data-orig-size=\"1307,882\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"healthchecks&amp;#8212;cron-details\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details-1024x691.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details-1024x691.png\" alt=\"\" class=\"wp-image-827\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details-1024x691.png 1024w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details-300x202.png 300w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details-768x518.png 768w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details-1200x810.png 1200w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-cron-details.png 1307w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Cron check details in Healthchecks<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"integrate-healthchecks-in-your-cron-jobs\"><strong>Integrate Healthchecks in your cron jobs<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"286\" data-attachment-id=\"828\" data-permalink=\"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/healthchecks-integration\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration.png\" data-orig-size=\"803,286\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"healthchecks&amp;#8212;integration\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration.png\" alt=\"\" class=\"wp-image-828\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration.png 803w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration-300x107.png 300w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration-768x274.png 768w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-integration-800x286.png 800w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><figcaption class=\"wp-element-caption\">Healthchecks &#8211; Ping instructions for cron check<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For Healthchecks to know if your cron job has passed or failed, you will need to communicate with Healthchecks inside your cron job. You can do this by pinging a unique URL for your cron check. Healthchecks provides code snippets for major programming languages to help you ping the cron check. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Healthchecks will start listening for pings from your cron job and will raise an alert if it does not get an expected ping based on your cron schedule. You can also signal cron job failure to Healthchecks by pinging the fail URL for your cron check.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don\u2019t want to ping the URL, you can also communicate the success of the cron job by emailing a unique email address for your cron check.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"measuring-run-times\"><strong>Measuring run times<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can measure the running time of your cron jobs by telling Healthchecks when your job starts. This can be done by calling a <strong>start<\/strong> URL for your cron check at the beginning of your cron job execution. Healthchecks will calculate the running time by comparing with the <strong>complete<\/strong> ping from your cron job. You can then see the run time for all your cron job executions from the Healthchecks dashboard. &nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"alerts\"><strong>Alerts<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"136\" data-attachment-id=\"830\" data-permalink=\"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/healthchecks-alert-settings\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-alert-settings.png\" data-orig-size=\"547,136\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"healthchecks&amp;#8212;alert-settings\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-alert-settings.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-alert-settings.png\" alt=\"\" class=\"wp-image-830\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-alert-settings.png 547w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/healthchecks-alert-settings-300x75.png 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><figcaption class=\"wp-element-caption\">Healthchecks &#8211; Alert settings for cron check<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To avoid issues because of unnoticed cron failures, you should set up alerting for your team when a cron job fails. You can use <a href=\"https:\/\/spike.sh\/\">Spike.sh<\/a> to alert your team about cron check failures on phone call, SMS, Slack and Microsoft Teams. You can also create on-call schedules in Spike.sh to assign first responders from your team on a rotating basis. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can now start monitoring your cron jobs with Healthchecks and set up flexible alerting for it using Spike.sh. If you would like to know more about monitoring your entire production stack, drop us a line at <a href=\"mailto:hello@spike.sh\">hello@spike.sh<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Software teams use cron jobs to handle many important tasks like database backups and maintenance scripts. Cron jobs make sure that your applications are behaving as they should, but cron job failures are often silent and not noticed until the problem becomes worse. In this guide, we will learn how to stay aware about cron [&hellip;]<\/p>\n","protected":false},"author":263547074,"featured_media":831,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[97],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introduction to Cron Job Monitoring with Healthchecks<\/title>\n<meta name=\"description\" content=\"Get started with cron job monitoring using Healthchecks. Detect failures fast, measure runtimes, and set up alerts with Spike.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to Cron Job Monitoring with Healthchecks\" \/>\n<meta property=\"og:description\" content=\"Get started with cron job monitoring using Healthchecks. Detect failures fast, measure runtimes, and set up alerts with Spike.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/\" \/>\n<meta property=\"og:site_name\" content=\"Welcome to Spike.\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-27T10:15:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-06T08:19:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"480\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pruthvi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pruthvi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/\"},\"author\":{\"name\":\"Pruthvi\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\"},\"headline\":\"Introduction to Cron Job Monitoring with Healthchecks\",\"datePublished\":\"2021-04-27T10:15:38+00:00\",\"dateModified\":\"2025-06-06T08:19:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/\"},\"wordCount\":561,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/kop.png\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/\",\"name\":\"Introduction to Cron Job Monitoring with Healthchecks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/kop.png\",\"datePublished\":\"2021-04-27T10:15:38+00:00\",\"dateModified\":\"2025-06-06T08:19:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\"},\"description\":\"Get started with cron job monitoring using Healthchecks. Detect failures fast, measure runtimes, and set up alerts with Spike.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/kop.png\",\"contentUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/kop.png\",\"width\":1200,\"height\":480},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/introduction-to-cron-job-monitoring-with-healthchecks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.spike.sh\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to Cron Job Monitoring with Healthchecks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#website\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/\",\"name\":\"Welcome to Spike.\",\"description\":\"In this space, our team talks about all things incidents, response, oncall, and share our journey of building Spike.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.spike.sh\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\",\"name\":\"Pruthvi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g\",\"caption\":\"Pruthvi\"},\"url\":\"https:\\\/\\\/blog.spike.sh\\\/author\\\/pruthvi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introduction to Cron Job Monitoring with Healthchecks","description":"Get started with cron job monitoring using Healthchecks. Detect failures fast, measure runtimes, and set up alerts with Spike.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/","og_locale":"en_GB","og_type":"article","og_title":"Introduction to Cron Job Monitoring with Healthchecks","og_description":"Get started with cron job monitoring using Healthchecks. Detect failures fast, measure runtimes, and set up alerts with Spike.","og_url":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/","og_site_name":"Welcome to Spike.","article_published_time":"2021-04-27T10:15:38+00:00","article_modified_time":"2025-06-06T08:19:45+00:00","og_image":[{"width":1200,"height":480,"url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png","type":"image\/png"}],"author":"Pruthvi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pruthvi","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#article","isPartOf":{"@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/"},"author":{"name":"Pruthvi","@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec"},"headline":"Introduction to Cron Job Monitoring with Healthchecks","datePublished":"2021-04-27T10:15:38+00:00","dateModified":"2025-06-06T08:19:45+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/"},"wordCount":561,"commentCount":0,"image":{"@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png","articleSection":["Uncategorized"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/","url":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/","name":"Introduction to Cron Job Monitoring with Healthchecks","isPartOf":{"@id":"https:\/\/blog.spike.sh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#primaryimage"},"image":{"@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png","datePublished":"2021-04-27T10:15:38+00:00","dateModified":"2025-06-06T08:19:45+00:00","author":{"@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec"},"description":"Get started with cron job monitoring using Healthchecks. Detect failures fast, measure runtimes, and set up alerts with Spike.","breadcrumb":{"@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#primaryimage","url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png","contentUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png","width":1200,"height":480},{"@type":"BreadcrumbList","@id":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.spike.sh\/"},{"@type":"ListItem","position":2,"name":"Introduction to Cron Job Monitoring with Healthchecks"}]},{"@type":"WebSite","@id":"https:\/\/blog.spike.sh\/#website","url":"https:\/\/blog.spike.sh\/","name":"Welcome to Spike.","description":"In this space, our team talks about all things incidents, response, oncall, and share our journey of building Spike.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.spike.sh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec","name":"Pruthvi","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9476164464b4c9fb3455f2ee4879aad90f1790dce018e71caeaca2cbd548637?s=96&d=robohash&r=g","caption":"Pruthvi"},"url":"https:\/\/blog.spike.sh\/author\/pruthvi\/"}]}},"modified_by":"Sreekar","jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfMe4Q-4Y","_links":{"self":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/users\/263547074"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":2,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":1792,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/308\/revisions\/1792"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/media\/831"}],"wp:attachment":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/media?parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/categories?post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/tags?post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}