{"id":2358,"date":"2012-02-23T18:03:47","date_gmt":"2012-02-23T23:03:47","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/02\/23\/301-working-with-cron-in-drupal-7\/"},"modified":"2021-08-16T23:46:56","modified_gmt":"2021-08-17T03:46:56","slug":"working-with-cron-in-drupal-7","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/","title":{"rendered":"Working with the default Drupal 7 Cron"},"content":{"rendered":"<p>The Cron job that comes configured in Drupal 7 is extremely important. The Cron job actually searches for updates to the Drupal core as well as any modules. The Cron job also indexes your website\u2019s content and handles routine maintenance tasks such as clearing log files. You can change the frequency of the cron job or run the cron manually in Drupal.<\/p>\n<p>Drupal 7 already has the basic cron configured; all you need to do is set the frequency in which it runs.<\/p>\n<h2>Setting the Frequency of the Cron Drupal 7:<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/drupal\/how-to-log-into-the-drupal-admin-dashboard\/\">Log into the Drupal Dashboard<\/a>.<\/li>\n<li>Go to <strong>Configuration &gt;&gt; System &gt;&gt; Cron<\/strong><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"735\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\" class=\"optimized-lcp-image\" alt=\"drupal_cron_1\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg 735w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1-300x220.jpg 300w\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Change the cron job frequency from the drop down menu.<br style=\"clear: both;\"><\/p><\/li>\n<li>Click <strong>Save configuration<\/strong>.<\/li>\n<\/ol>\n<h2>Running the Cron Manually in Drupal 7<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/drupal\/how-to-log-into-the-drupal-admin-dashboard\/\">Log into your Drupal dashboard<\/a>.<\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_2.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"drupal_cron_2\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_2.jpg\" style=\"float: right; margin: 0px 0px 15px 15px;\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Go to <strong>Configuration &gt;&gt; System &gt;&gt; Cron<\/strong>.<br style=\"clear: both;\"><\/p><\/li>\n<li>Click <strong>Run cron<\/strong>.<\/li>\n<\/ol>\n<p>For more step-by-step guides and practical tips, visit our <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/\">Drupal Education Channel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Cron job that comes configured in Drupal 7 is extremely important. The Cron job actually searches for updates to the Drupal core as well as any modules. The Cron job also indexes your website\u2019s content and handles routine maintenance tasks such as clearing log files. You can change the frequency of the cron job<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\"> Read More ><\/a><\/p>\n","protected":false},"author":56983,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[372],"tags":[],"class_list":["post-2358","post","type-post","status-publish","format-standard","hentry","category-drupal"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Working with the default Drupal 7 Cron | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this tutorial we&#039;ll explain what the cron does, how to changes the frequency in which it runs, and how to run in mannually in Drupal 7.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Working with the default Drupal 7 Cron | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial we&#039;ll explain what the cron does, how to changes the frequency in which it runs, and how to run in mannually in Drupal 7.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-02-23T23:03:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:46:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\" \/>\n<meta name=\"author\" content=\"Carrie Smaha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@carriesmaha\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carrie Smaha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\"},\"author\":{\"name\":\"Carrie Smaha\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8\"},\"headline\":\"Working with the default Drupal 7 Cron\",\"datePublished\":\"2012-02-23T23:03:47+00:00\",\"dateModified\":\"2021-08-17T03:46:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\"},\"wordCount\":157,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\",\"articleSection\":[\"Drupal\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\",\"name\":\"Working with the default Drupal 7 Cron | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\",\"datePublished\":\"2012-02-23T23:03:47+00:00\",\"dateModified\":\"2021-08-17T03:46:56+00:00\",\"description\":\"In this tutorial we'll explain what the cron does, how to changes the frequency in which it runs, and how to run in mannually in Drupal 7.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg\",\"width\":735,\"height\":538,\"caption\":\"drupal_cron_1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Working with the default Drupal 7 Cron\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8\",\"name\":\"Carrie Smaha\",\"description\":\"Carrie Smaha is a Senior Marketing Operations leader with over 20 years of experience in digital strategy, web development, and IT project management. She specializes in go-to-market programs and SaaS solutions for WordPress and VPS Hosting, working closely with technical teams and customers to deliver high-performance, scalable platforms. At InMotion Hosting, she drives product marketing initiatives that blend strategic insight with technical depth.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/carriesmaha\/\",\"https:\/\/x.com\/carriesmaha\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/carries\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Working with the default Drupal 7 Cron | InMotion Hosting","description":"In this tutorial we'll explain what the cron does, how to changes the frequency in which it runs, and how to run in mannually in Drupal 7.","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:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/","og_locale":"en_US","og_type":"article","og_title":"Working with the default Drupal 7 Cron | InMotion Hosting","og_description":"In this tutorial we'll explain what the cron does, how to changes the frequency in which it runs, and how to run in mannually in Drupal 7.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-02-23T23:03:47+00:00","article_modified_time":"2021-08-17T03:46:56+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg","type":"","width":"","height":""}],"author":"Carrie Smaha","twitter_card":"summary_large_image","twitter_creator":"@carriesmaha","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Carrie Smaha","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/"},"author":{"name":"Carrie Smaha","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8"},"headline":"Working with the default Drupal 7 Cron","datePublished":"2012-02-23T23:03:47+00:00","dateModified":"2021-08-17T03:46:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/"},"wordCount":157,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg","articleSection":["Drupal"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/","name":"Working with the default Drupal 7 Cron | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg","datePublished":"2012-02-23T23:03:47+00:00","dateModified":"2021-08-17T03:46:56+00:00","description":"In this tutorial we'll explain what the cron does, how to changes the frequency in which it runs, and how to run in mannually in Drupal 7.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/drupal_drupal_cron_1.jpg","width":735,"height":538,"caption":"drupal_cron_1"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/working-with-cron-in-drupal-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Working with the default Drupal 7 Cron"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8","name":"Carrie Smaha","description":"Carrie Smaha is a Senior Marketing Operations leader with over 20 years of experience in digital strategy, web development, and IT project management. She specializes in go-to-market programs and SaaS solutions for WordPress and VPS Hosting, working closely with technical teams and customers to deliver high-performance, scalable platforms. At InMotion Hosting, she drives product marketing initiatives that blend strategic insight with technical depth.","sameAs":["https:\/\/www.linkedin.com\/in\/carriesmaha\/","https:\/\/x.com\/carriesmaha"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/carries\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/56983"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2358"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2358\/revisions"}],"predecessor-version":[{"id":86286,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2358\/revisions\/86286"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}