{"id":7048,"date":"2020-01-17T12:43:08","date_gmt":"2020-01-17T12:43:08","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=7048"},"modified":"2024-05-08T11:30:00","modified_gmt":"2024-05-08T10:30:00","slug":"what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/","title":{"rendered":"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade?"},"content":{"rendered":"<p>This article focuses on the solution to a problem that may occur after upgrading a Magento installation to version 1.8.<\/p>\n<h2># What is the problem?<\/h2>\n<p>After upgrading a <a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-install-magento-from-cpanel-softaculous\/\">Magento installation<\/a> to version 1.8 cron jobs, you will observe that it may not appear to run as expected. For example, you may see the following problems :<\/p>\n<ul>\n<li>Newsletters are not visible.<\/li>\n<li>Catalog price rules didn&#8217;t get updated.<\/li>\n<li>Google sitemap doesn&#8217;t get generated.<\/li>\n<li>Currency rates don&#8217;t get updated.<\/li>\n<li>Customer alerts don&#8217;t get sent.<\/li>\n<\/ul>\n<h2># Solution to the problem.<\/h2>\n<p>Perform the following steps to solve this problem :<\/p>\n<p>1) Open the <strong>Magento cron.php file<\/strong> in a text editor file. To do this you can login to your account using SSH, or also if your account has cPanel then login using cPanel File Manager.<\/p>\n<p>2) Place the following code block around line 45 :<\/p>\n<pre class=\"trim-whitespace:false lang:default decode:true \">$disabledFuncs = explode(',', ini_get('disable_functions'));\n\n$isShellDisabled = is_array($disabledFuncs) ? in_array('shell_exec', $disabledFuncs) : true;\n\n$isShellDisabled = (stripos(PHP_OS, 'win') === false) ? $isShellDisabled : true;<\/pre>\n<p>3) Now the following code and paste it after the code block you placed in the above step 2 :<\/p>\n<pre class=\"trim-whitespace:false lang:default decode:true \">$isShellDisabled = true;<\/pre>\n<p>4) Save these changes to the cron.php file and exit the text editor. The cron job will run correctly now.<\/p>\n<p><strong>Also Read :<\/strong><\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/learn-to-run-php-scripts-from-cron-jobs\/\" target=\"_blank\" rel=\"noopener\"><strong> Learn to run PHP Scripts from Cron jobs<\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-take-the-cron-job-backups-using-jetbackup\/\" target=\"_blank\" rel=\"noopener\"><strong> How to Take the Cron Job Backups using JetBackup?<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article focuses on the solution to a problem that may occur after upgrading a Magento installation to version 1.8. # What is the problem? After upgrading a Magento installation to version 1.8 cron jobs, you will observe that it may not appear to run as expected. For example, you may see the following problems [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[658,1209,1210],"class_list":["post-7048","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-web-hosting-faq","tag-cron-jobs","tag-magento-1-8","tag-optimizing-and-configuring-magento-1-8"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What to do if Cron Jobs do not run on Magento 1.8 After Upgrade? - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"This article defines possibilties of why cron jobs don&#039;t run after updating Magento 1.8 and its solution.\" \/>\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.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade? - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"This article defines possibilties of why cron jobs don&#039;t run after updating Magento 1.8 and its solution.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-17T12:43:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-08T10:30:00+00:00\" \/>\n<meta name=\"author\" content=\"Sonam Wagh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sonam Wagh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/\",\"name\":\"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade? - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2020-01-17T12:43:08+00:00\",\"dateModified\":\"2024-05-08T10:30:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\"},\"description\":\"This article defines possibilties of why cron jobs don't run after updating Magento 1.8 and its solution.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\",\"name\":\"Sonam Wagh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g\",\"caption\":\"Sonam Wagh\"},\"description\":\"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/sonam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade? - Web Hosting FAQs by MilesWeb","description":"This article defines possibilties of why cron jobs don't run after updating Magento 1.8 and its solution.","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.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/","og_locale":"en_GB","og_type":"article","og_title":"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade? - Web Hosting FAQs by MilesWeb","og_description":"This article defines possibilties of why cron jobs don't run after updating Magento 1.8 and its solution.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2020-01-17T12:43:08+00:00","article_modified_time":"2024-05-08T10:30:00+00:00","author":"Sonam Wagh","twitter_misc":{"Written by":"Sonam Wagh","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/","name":"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade? - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2020-01-17T12:43:08+00:00","dateModified":"2024-05-08T10:30:00+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4"},"description":"This article defines possibilties of why cron jobs don't run after updating Magento 1.8 and its solution.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/what-to-do-if-cron-jobs-do-not-run-on-magento-1-8-after-upgrade\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"What to do if Cron Jobs do not run on Magento 1.8 After Upgrade?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4","name":"Sonam Wagh","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9cb2cf6ae11d7625ef6417ef8e84ba25?s=96&d=blank&r=g","caption":"Sonam Wagh"},"description":"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/sonam\/"}]}},"views":434,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=7048"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7048\/revisions"}],"predecessor-version":[{"id":15743,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7048\/revisions\/15743"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=7048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=7048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=7048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}