{"id":303,"date":"2021-06-24T11:22:56","date_gmt":"2021-06-24T11:22:56","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=303"},"modified":"2023-03-10T12:46:58","modified_gmt":"2023-03-10T18:46:58","slug":"how-to-use-the-cron-daemon-for-wp-cron","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/","title":{"rendered":"How to Use the Cron Daemon for wp-cron"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #212121;color:#212121\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #212121;color:#212121\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#what_is_wp-cron_and_how_does_it_affect_your_wordpress_site\" >What is wp-cron and How Does it Affect Your WordPress Site<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#disabling_via_cpanel\" >Disabling via cPanel<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#disabling_wp-cron_via_file_manager\" >Disabling wp-cron via File Manager<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#setting_up_cron_jobs_in_cpanel\" >Setting Up Cron Jobs in cPanel<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#disabling_wp-cron_and_setting_up_system_cron_job_via_ssh\" >Disabling wp-cron and Setting Up System Cron Job via SSH<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>This article describes how to replace WordPress&#8217;s internal cron mechanism with a cron job run by the operating system&#8217;s\u00a0<code>cron<\/code>\u00a0daemon.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"what_is_wp-cron_and_how_does_it_affect_your_wordpress_site\"><\/span>What is wp-cron and How Does it Affect Your WordPress Site<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>File&nbsp;<code>wp-cron.php<\/code>&nbsp;resides in the root directory of the WordPress site and is checked each time someone visits your site. If there is a task and its scheduled runtime has passed at the time of the visit, WordPress runs that task.<\/p>\n\n\n\n<p>This is how it looks in Apache logs:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  \"POST \/wp-cron.php?doing_wp_cron=1517537460.9037239551544189453125<\/code><\/pre>\n\n\n\n<p>Therefore, the more visits the website gets the more frequently&nbsp;wp-cron.php&nbsp;has to be checked. This may cause a significant burden in terms of processing power on sites with high traffic.<\/p>\n\n\n\n<p>There are two stages to the process: disabling WordPress&#8217;s cron mechanism, and setting the task as a cronjob.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"disabling_via_cpanel\"><\/span>Disabling via cPanel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Using cPanel, disabling the wp-cron can be done via the File Manager, and setting up the cronjob can be done in the &#8220;Cron Jobs&#8221; section of cPanel.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"disabling_wp-cron_via_file_manager\"><\/span>Disabling wp-cron via File Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Go to cPanel and click on &#8220;File Manager&#8221;. Find the file&nbsp;<code>wp-config.php<\/code>&nbsp;which also resides in the site&#8217;s root directory, and click on &#8220;Edit&#8221; in the top menu:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"365\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg\" alt=\"\" class=\"wp-image-304\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-300x107.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-768x274.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add the following line in the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  define('DISABLE_WP_CRON', true);<\/code><\/pre>\n\n\n\n<p>You may add this in any place between existing&nbsp;<code>define<\/code>&nbsp;directives, for example at the very top just after&nbsp;<code>&lt;?php<\/code>&nbsp;symbols:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"864\" height=\"243\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_define.jpg\" alt=\"\" class=\"wp-image-305\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_define.jpg 864w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_define-300x84.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_define-768x216.jpg 768w\" sizes=\"(max-width: 864px) 100vw, 864px\" \/><\/figure>\n\n\n\n<p>Click &#8220;Save Changes&#8221; and then &#8220;Close&#8221;.<\/p>\n\n\n\n<p>Now WordPress will not run the&nbsp;<code>wp-cron.php<\/code>&nbsp;script every time someone visits your site. However, there is still a need for the cron jobs to run periodically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"setting_up_cron_jobs_in_cpanel\"><\/span>Setting Up Cron Jobs in cPanel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Open cPanel and click on the&nbsp;<strong>Cron Jobs<\/strong>&nbsp;icon in the Advanced section:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"600\" height=\"225\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_open.jpg\" alt=\"\" class=\"wp-image-306\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_open.jpg 600w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_open-300x113.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>You may choose a predefined running interval in the&nbsp;<strong>Common Settings<\/strong>&nbsp;section. For example, to run once per hour:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"600\" height=\"407\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_hourly.jpg\" alt=\"\" class=\"wp-image-307\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_hourly.jpg 600w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_hourly-300x204.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>Alternatively, you may combine predefined settings for each particular time\/date section. For example, to run every 6 hours at 5 minutes after the hour:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"600\" height=\"466\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_6hours.jpg\" alt=\"\" class=\"wp-image-308\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_6hours.jpg 600w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_6hours-300x233.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>And finally, you need to set up the command to run. Please note that you need to run the script with the specific PHP settings used by your site, e.g., the correct PHP version. That means that you need to invoke the&nbsp;<code>php<\/code>&nbsp;command from inside the root directory. For example, if the site&#8217;s root directory is&nbsp;<code>\/home\/wp\/public_html<\/code>, the command would be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  cd \/home\/wp\/public_html; php -q wp-cron.php<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"600\" height=\"111\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_command.jpg\" alt=\"\" class=\"wp-image-309\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_command.jpg 600w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_command-300x56.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>Click the &#8220;Add New Cron Job&#8221; button. You should see the added cron job below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"93\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_list.jpg\" alt=\"\" class=\"wp-image-310\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_list.jpg 800w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_list-300x35.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/cp_cron_list-768x89.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"disabling_wp-cron_and_setting_up_system_cron_job_via_ssh\"><\/span>Disabling wp-cron and Setting Up System Cron Job via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Go to the site&#8217;s root directory, for example&nbsp;<code>\/home\/wp\/public_html\/<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  cd \/home\/wp\/public_html\/<\/code><\/pre>\n\n\n\n<p>Open file&nbsp;<code>wp-config.php<\/code>&nbsp;in a text editor, for example&nbsp;<code>vi<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  vi wp-config.php<\/code><\/pre>\n\n\n\n<p>Add the following line just after the&nbsp;<code>&lt;?php<\/code>&nbsp;line on the top:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  define('DISABLE_WP_CRON', true);<\/code><\/pre>\n\n\n\n<p>Save and exit the text editor.<\/p>\n\n\n\n<p>Open the crontab editor. If you are logged in as the cPanel user then run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  crontab -e<\/code><\/pre>\n\n\n\n<p>If you are logged in as root and you need to edit the crontab for a cPanel user then run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  crontab -e -u USERNAME<\/code><\/pre>\n\n\n\n<p>Add the following line, save, and exit the text editor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  5 *\/6 * * * cd \/home\/USERNAME\/public_html; php -q wp-cron.php<\/code><\/pre>\n\n\n\n<p>To check the crontab run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  crontab -e -l USERNAME<\/code><\/pre>\n\n\n\n<p>You can find more information on crontab syntax\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Cron\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Have a WordPress website? Check out our <a href=\"https:\/\/www.knownhost.com\/wordpress-hosting\"><strong>Managed Hosting for WordPress<\/strong><\/a> and see if we are a good fit for you. <strong><a href=\"https:\/\/www.knownhost.com\">KnownHost <\/a><\/strong>offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you should you need our assistance. You\u2019re not using KnownHost for the best webhosting experience? Well, why not?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article describes how to replace WordPress&#8217;s internal cron mechanism with a cron job run by the operating system&#8217;s\u00a0cron\u00a0daemon. What is wp-cron and How Does it Affect Your WordPress Site File&nbsp;wp-cron.php&nbsp;resides in the root directory of the WordPress site and is checked each time someone visits your site. If there is a task and its [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[109,313,106,314],"class_list":["post-303","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cpanel","tag-cron","tag-wordpress","tag-wp-cron"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Use the Cron Daemon for wp-cron - KnownHost<\/title>\n<meta name=\"description\" content=\"Learn more about wp-cron and the best way to set it up and manage it on your WordPress website.\" \/>\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.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the Cron Daemon for wp-cron - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Learn more about wp-cron and the best way to set it up and manage it on your WordPress website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-24T11:22:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-10T18:46:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg\" \/>\n<meta name=\"author\" content=\"Jonathan K. W.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan K. W.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/\"},\"author\":{\"name\":\"Jonathan K. W.\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"headline\":\"How to Use the Cron Daemon for wp-cron\",\"datePublished\":\"2021-06-24T11:22:56+00:00\",\"dateModified\":\"2023-03-10T18:46:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/\"},\"wordCount\":586,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/wp_cron_wpsettings_open-1024x365.jpg\",\"keywords\":[\"cpanel\",\"cron\",\"wordpress\",\"wp-cron\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/\",\"name\":\"How to Use the Cron Daemon for wp-cron - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/wp_cron_wpsettings_open-1024x365.jpg\",\"datePublished\":\"2021-06-24T11:22:56+00:00\",\"dateModified\":\"2023-03-10T18:46:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"description\":\"Learn more about wp-cron and the best way to set it up and manage it on your WordPress website.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/wp_cron_wpsettings_open-1024x365.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/wp_cron_wpsettings_open-1024x365.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-use-the-cron-daemon-for-wp-cron\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use the Cron Daemon for wp-cron\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\",\"name\":\"Jonathan K. W.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"caption\":\"Jonathan K. W.\"},\"sameAs\":[\"https:\\\/\\\/www.knownhost.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use the Cron Daemon for wp-cron - KnownHost","description":"Learn more about wp-cron and the best way to set it up and manage it on your WordPress website.","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.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/","og_locale":"en_US","og_type":"article","og_title":"How to Use the Cron Daemon for wp-cron - KnownHost","og_description":"Learn more about wp-cron and the best way to set it up and manage it on your WordPress website.","og_url":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/","og_site_name":"KnownHost","article_published_time":"2021-06-24T11:22:56+00:00","article_modified_time":"2023-03-10T18:46:58+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg","type":"","width":"","height":""}],"author":"Jonathan K. W.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan K. W.","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/"},"author":{"name":"Jonathan K. W.","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"headline":"How to Use the Cron Daemon for wp-cron","datePublished":"2021-06-24T11:22:56+00:00","dateModified":"2023-03-10T18:46:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/"},"wordCount":586,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg","keywords":["cpanel","cron","wordpress","wp-cron"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/","url":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/","name":"How to Use the Cron Daemon for wp-cron - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg","datePublished":"2021-06-24T11:22:56+00:00","dateModified":"2023-03-10T18:46:58+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"description":"Learn more about wp-cron and the best way to set it up and manage it on your WordPress website.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/06\/wp_cron_wpsettings_open-1024x365.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-to-use-the-cron-daemon-for-wp-cron\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Use the Cron Daemon for wp-cron"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b","name":"Jonathan K. W.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","caption":"Jonathan K. W."},"sameAs":["https:\/\/www.knownhost.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=303"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/303\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}