{"id":305,"date":"2021-04-16T12:15:52","date_gmt":"2021-04-16T12:15:52","guid":{"rendered":"https:\/\/blog.spike.sh\/2021\/04\/16\/how-to-monitor-your-cron-jobs-using-cronitor\/"},"modified":"2025-06-06T13:55:31","modified_gmt":"2025-06-06T08:25:31","slug":"how-to-monitor-your-cron-jobs-using-cronitor","status":"publish","type":"post","link":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/","title":{"rendered":"How to Monitor Your Cron Jobs Using Cronitor"},"content":{"rendered":"\n<nav aria-label=\"Table of Contents\" class=\"wp-block-table-of-contents\"><ol><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#create-a-new-cron-job-monitor\">Create a new cron job monitor<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#integrate-cronitor-in-your-cron-job\">Integrate Cronitor in your cron job<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#setting-up-alerts\">Setting up alerts<\/a><\/li><li><a class=\"wp-block-table-of-contents__entry\" href=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#conclusion\">Conclusion<\/a><\/li><\/ol><\/nav>\n\n\n\n<p class=\"wp-block-paragraph\">Cron jobs handle a lot of background plumbing that keep applications running smoothly. But cron job failures often go unnoticed and be disastrous for your users and business. To make sure that you are aware about cron job issues, you should use a cron monitoring tool. In this post, we will see how to get started with <a href=\"https:\/\/cronitor.io\/\">Cronitor<\/a> to monitor your cron jobs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-new-cron-job-monitor\">Create a new cron job monitor<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sign up for a new account on Cronitor and select <strong>Cron job <\/strong>from the Create Monitor screen.<\/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=\"740\" height=\"578\" data-attachment-id=\"838\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/1-2\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-1.png\" data-orig-size=\"740,578\" 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=\"1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-1.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-1.png\" alt=\"\" class=\"wp-image-838\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-1.png 740w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/1-1-300x234.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><figcaption class=\"wp-element-caption\">Select monitor type in Cronitor<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To create a cron job monitor, you should add the cron job expression which tells Cronitor about when your cron job runs, and the timezone for the cron job. For example, \u201c0 0 * * *\u201d expression means that your cron job runs every midnight. You can create cron expressions with ease using <a href=\"https:\/\/crontab.guru\/\">Crontab guru<\/a>. <\/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=\"746\" height=\"579\" data-attachment-id=\"839\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/2-2\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-1.png\" data-orig-size=\"746,579\" 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=\"2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-1.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-1.png\" alt=\"\" class=\"wp-image-839\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-1.png 746w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/2-1-300x233.png 300w\" sizes=\"auto, (max-width: 746px) 100vw, 746px\" \/><figcaption class=\"wp-element-caption\">Create a cron job monitor<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, you should specify if you want to be alerted if your cron job runs for longer than usual. You can specify the maximum time for which Cronitor can wait for job completion before it sends an alert. This is useful when slow performing cron jobs can cause issues. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes, an individual cron job failures may not matter. In this case, you can choose to be alerted only if a cron job fails more than a certain number of times. Next, select a name for your new monitor and save. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"integrate-cronitor-in-your-cron-job\">Integrate Cronitor in your cron job<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"388\" data-attachment-id=\"840\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/3-2\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-1.png\" data-orig-size=\"575,388\" 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=\"3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-1.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-1.png\" alt=\"\" class=\"wp-image-840\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-1.png 575w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/3-1-300x202.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><figcaption class=\"wp-element-caption\">Cronitor installation instructions<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After creating a new monitor, you should integrate Cronitor in your cron job. Cronitor has SDKs for different languages like Python, node.js etc. You can also call the unique HTTP URLs in your cron job to tell Cronitor when your cron job starts, completes and fails. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Based on the cron job schedule that you configured for your monitor, Cronitor will be expecting pings from your cron job. You can now get alerted if a cron job fails to start, runs for too long or fails during execution.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-up-alerts\">Setting up alerts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To make sure that you are aware of cron job failures, it is important to set up alerts for you and your team members. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can set up emails from Cronitor directly, or you can use <a href=\"https:\/\/spike.sh\/\">Spike.sh<\/a> to get cron failure alerts on phone call, SMS, Slack and Microsoft Teams. You can create an escalation policy so if a team member is not able to attend to an alert, it automatically calls the next team member in the schedule. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full kg-card kg-image-card kg-card-hascaption\"><img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"460\" data-attachment-id=\"841\" data-permalink=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/4-2\/\" data-orig-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/4-1.png\" data-orig-size=\"569,460\" 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=\"4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/4-1.png\" src=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/4-1.png\" alt=\"\" class=\"wp-image-841\" srcset=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/4-1.png 569w, https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/4-1-300x243.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><figcaption class=\"wp-element-caption\">Integrate Spike.sh with Cronitor using webhooks<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it! We saw how easy it is to start monitoring your cron jobs and start getting alerts if anything goes wrong. If you would like to know about adding monitoring and alerts to your production stack, email us at <a href=\"mailto:hello@spike.sh\">hello@spike.sh<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cron jobs handle a lot of background plumbing that keep applications running smoothly. But cron job failures often go unnoticed and be disastrous for your users and business. To make sure that you are aware about cron job issues, you should use a cron monitoring tool. In this post, we will see how to get [&hellip;]<\/p>\n","protected":false},"author":263547074,"featured_media":842,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_lmt_disableupdate":"","_lmt_disable":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","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},"categories":[1438],"tags":[],"class_list":["post-305","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Monitor Your Cron Jobs Using Cronitor<\/title>\n<meta name=\"description\" content=\"Start monitoring cron jobs using Cronitor\u2014get instant alerts for failures, delays, and ensure reliability with Spike.sh integration.\" \/>\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\/how-to-monitor-your-cron-jobs-using-cronitor\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Monitor Your Cron Jobs Using Cronitor\" \/>\n<meta property=\"og:description\" content=\"Start monitoring cron jobs using Cronitor\u2014get instant alerts for failures, delays, and ensure reliability with Spike.sh integration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/\" \/>\n<meta property=\"og:site_name\" content=\"Spike&#039;s blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-16T12:15:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-06T08:25:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/\"},\"author\":{\"name\":\"Pruthvi\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\"},\"headline\":\"How to Monitor Your Cron Jobs Using Cronitor\",\"datePublished\":\"2021-04-16T12:15:52+00:00\",\"dateModified\":\"2025-06-06T08:25:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/\"},\"wordCount\":492,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Blog-cronitor.png\",\"articleSection\":[\"Guide\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/\",\"name\":\"How to Monitor Your Cron Jobs Using Cronitor\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Blog-cronitor.png\",\"datePublished\":\"2021-04-16T12:15:52+00:00\",\"dateModified\":\"2025-06-06T08:25:31+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#\\\/schema\\\/person\\\/2c9fa677c459b8f4fb26f1a02b90b5ec\"},\"description\":\"Start monitoring cron jobs using Cronitor\u2014get instant alerts for failures, delays, and ensure reliability with Spike.sh integration.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Blog-cronitor.png\",\"contentUrl\":\"https:\\\/\\\/blog.spike.sh\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Blog-cronitor.png\",\"width\":1200,\"height\":480},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/how-to-monitor-your-cron-jobs-using-cronitor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.spike.sh\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Monitor Your Cron Jobs Using Cronitor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.spike.sh\\\/#website\",\"url\":\"https:\\\/\\\/blog.spike.sh\\\/\",\"name\":\"Spike&#039;s blog\",\"description\":\"Learnings and opinions in a changing world\",\"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":"How to Monitor Your Cron Jobs Using Cronitor","description":"Start monitoring cron jobs using Cronitor\u2014get instant alerts for failures, delays, and ensure reliability with Spike.sh integration.","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\/how-to-monitor-your-cron-jobs-using-cronitor\/","og_locale":"en_GB","og_type":"article","og_title":"How to Monitor Your Cron Jobs Using Cronitor","og_description":"Start monitoring cron jobs using Cronitor\u2014get instant alerts for failures, delays, and ensure reliability with Spike.sh integration.","og_url":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/","og_site_name":"Spike&#039;s blog","article_published_time":"2021-04-16T12:15:52+00:00","article_modified_time":"2025-06-06T08:25:31+00:00","og_image":[{"width":1200,"height":480,"url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png","type":"image\/png"}],"author":"Pruthvi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pruthvi","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#article","isPartOf":{"@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/"},"author":{"name":"Pruthvi","@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec"},"headline":"How to Monitor Your Cron Jobs Using Cronitor","datePublished":"2021-04-16T12:15:52+00:00","dateModified":"2025-06-06T08:25:31+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/"},"wordCount":492,"commentCount":0,"image":{"@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png","articleSection":["Guide"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/","url":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/","name":"How to Monitor Your Cron Jobs Using Cronitor","isPartOf":{"@id":"https:\/\/blog.spike.sh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#primaryimage"},"image":{"@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png","datePublished":"2021-04-16T12:15:52+00:00","dateModified":"2025-06-06T08:25:31+00:00","author":{"@id":"https:\/\/blog.spike.sh\/#\/schema\/person\/2c9fa677c459b8f4fb26f1a02b90b5ec"},"description":"Start monitoring cron jobs using Cronitor\u2014get instant alerts for failures, delays, and ensure reliability with Spike.sh integration.","breadcrumb":{"@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#primaryimage","url":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png","contentUrl":"https:\/\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/Blog-cronitor.png","width":1200,"height":480},{"@type":"BreadcrumbList","@id":"https:\/\/blog.spike.sh\/how-to-monitor-your-cron-jobs-using-cronitor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.spike.sh\/"},{"@type":"ListItem","position":2,"name":"How to Monitor Your Cron Jobs Using Cronitor"}]},{"@type":"WebSite","@id":"https:\/\/blog.spike.sh\/#website","url":"https:\/\/blog.spike.sh\/","name":"Spike&#039;s blog","description":"Learnings and opinions in a changing world","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\/Blog-cronitor.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfMe4Q-4V","jetpack-related-posts":[{"id":308,"url":"https:\/\/blog.spike.sh\/introduction-to-cron-job-monitoring-with-healthchecks\/","url_meta":{"origin":305,"position":0},"title":"Introduction to Cron Job Monitoring with Healthchecks","author":"Pruthvi","date":"27th April, 2021","format":false,"excerpt":"Create a new cron job checkIntegrate Healthchecks in your cron jobsMeasuring run timesAlertsConclusion 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\u2026","rel":"","context":"In &quot;Guide&quot;","block_context":{"text":"Guide","link":"https:\/\/blog.spike.sh\/category\/guide\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/kop.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":283,"url":"https:\/\/blog.spike.sh\/tools-and-products-we-use-at-spike-part-1\/","url_meta":{"origin":305,"position":1},"title":"\u26a1\ufe0fTools and Products We Use at Spike &#8211; Part 1","author":"Kaushik","date":"26th May, 2020","format":false,"excerpt":"Servers1. AWS2. Vercel (formerly Zeit.co)3. MongoDB AtlasMonitoring1. Cloudwatch2. Healthchecks.io3. Uptime Robot4. Datadog5. Nginx Amplify6. SentryCI\/CD1. Buddy.works2. Travis CIDevTools1. Ngrok2. VS Code Live Share3. Twilio4. Sendgrid Every organisation uses a multitude of a number of tools to support their business. We will try and cover all of the ones we use\u2026","rel":"","context":"In &quot;Building Spike&quot;","block_context":{"text":"Building Spike","link":"https:\/\/blog.spike.sh\/category\/building-spike\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2020\/05\/photo-1426927308491-6380b6a9936f.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2020\/05\/photo-1426927308491-6380b6a9936f.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2020\/05\/photo-1426927308491-6380b6a9936f.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2020\/05\/photo-1426927308491-6380b6a9936f.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2020\/05\/photo-1426927308491-6380b6a9936f.jpeg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2020\/05\/photo-1426927308491-6380b6a9936f.jpeg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":338,"url":"https:\/\/blog.spike.sh\/getting-started-with-incident-management\/","url_meta":{"origin":305,"position":2},"title":"Getting Started With Incident Management","author":"Kaushik","date":"5th February, 2024","format":false,"excerpt":"Getting started with managing incidents is easy. In fact, the initial setup takes just 5 minutes, and within the first 3 minutes, you will start receiving alerts.","rel":"","context":"In &quot;Incident Management&quot;","block_context":{"text":"Incident Management","link":"https:\/\/blog.spike.sh\/category\/incident-management\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Getting-started-with-Incident-Management-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Getting-started-with-Incident-Management-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Getting-started-with-Incident-Management-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Getting-started-with-Incident-Management-1.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Getting-started-with-Incident-Management-1.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Getting-started-with-Incident-Management-1.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":339,"url":"https:\/\/blog.spike.sh\/incident-management-is-a-team-responsibility\/","url_meta":{"origin":305,"position":3},"title":"Incident Management is a Team Responsibility","author":"Gurneet Kaur","date":"5th February, 2024","format":false,"excerpt":"Effective teamwork plays a crucial role in maintaining system stability and preventing incidents. We discuss how team's involvement helps.","rel":"","context":"In &quot;Incident Management&quot;","block_context":{"text":"Incident Management","link":"https:\/\/blog.spike.sh\/category\/incident-management\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Incident-Management-Is-A-Team-Responsibility.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Incident-Management-Is-A-Team-Responsibility.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Incident-Management-Is-A-Team-Responsibility.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Incident-Management-Is-A-Team-Responsibility.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Incident-Management-Is-A-Team-Responsibility.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2024\/02\/Incident-Management-Is-A-Team-Responsibility.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":309,"url":"https:\/\/blog.spike.sh\/a-guide-to-uptime-monitoring-with-uptimerobot\/","url_meta":{"origin":305,"position":4},"title":"A Guide to Website Uptime Monitoring with UptimeRobot","author":"Pruthvi","date":"30th April, 2021","format":false,"excerpt":"Getting startedStatus pageAlertsConclusion Your website is your primary storefront on the internet and any website issues can lead to customer dissatisfaction and lost business. Which is why it is important to monitor your website to make sure that it is working properly. In this guide, we will learn how to\u2026","rel":"","context":"In &quot;Guide&quot;","block_context":{"text":"Guide","link":"https:\/\/blog.spike.sh\/category\/guide\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/blog-uptime-robot.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/blog-uptime-robot.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/blog-uptime-robot.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/blog-uptime-robot.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/04\/blog-uptime-robot.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":316,"url":"https:\/\/blog.spike.sh\/devops-engineer-responsibilities-analyzed-29-job-postings-to-find-out\/","url_meta":{"origin":305,"position":5},"title":"What Does a DevOps Engineer Do? We Analyzed 29 Job Postings to Find Out","author":"Pruthvi","date":"15th December, 2021","format":false,"excerpt":"IntroductionManage InfrastructureBuild and Maintain the CI\/CD PipelineAvailability and Reliability of ServicesSecurity and ComplianceMonitoring and AlertsIncident Management and On-callProduction TroubleshootingAutomation and ToolsConsult the Engineering TeamConclusion Introduction As all companies become software driven, DevOps is becoming an important practice in enterprises and startups across the world. DevOps is about bringing velocity to\u2026","rel":"","context":"In &quot;Industry Insights&quot;","block_context":{"text":"Industry Insights","link":"https:\/\/blog.spike.sh\/category\/industry-insights\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/12\/001.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/12\/001.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/12\/001.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/blog.spike.sh\/wp-content\/uploads\/2021\/12\/001.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/305","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=305"}],"version-history":[{"count":3,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":1796,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/posts\/305\/revisions\/1796"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/media\/842"}],"wp:attachment":[{"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.spike.sh\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}