{"id":5139,"date":"2018-05-15T12:42:16","date_gmt":"2018-05-15T12:42:16","guid":{"rendered":"https:\/\/www.truehost.co.ke\/support\/?post_type=ht_kb&#038;p=5139"},"modified":"2024-06-21T08:31:49","modified_gmt":"2024-06-21T08:31:49","password":"","slug":"configuring-custom-cron-job-wordpress-using-cpanel","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/","title":{"rendered":"Configuring a custom Cron job in WordPress Using the Cpanel"},"content":{"rendered":"<p>After disabling the default WordPress cron job, you\u2019re now set to configure your own custom cron job.<\/p>\n<p>The advantage of such a cron job is that it runs at a fixed time which you will set when configuring the cron job.<\/p>\n<p>To configure the cron job you can use<\/p>\n<ol>\n<li>The cpanel and<\/li>\n<li>Ssh or command line.<\/li>\n<li>Log in to cPanel.<\/li>\n<li>In the\u00a0Advanced\u00a0section of the cPanel home screen, click\u00a0Cron jobs.<\/li>\n<li>Under\u00a0Cron Email, type the e-mail address that you want to receive notifications, and then click\u00a0Update Email. Every time the cron job runs, the e-mail account will receive a message.<\/li>\n<li>Under\u00a0Add New Cron Job, in the\u00a0Common Settings list box, select\u00a0Twice an hour.<\/li>\n<li>In the\u00a0Command text box, type the following line. Replace\u00a0<em>username<\/em>\u00a0with your own cpanel username:<\/li>\n<\/ol>\n<p>cd \/home\/<em>username<\/em>\/public_html; \/usr\/local\/bin\/php -q wp-cron.php<\/p>\n<p>6.Click\u00a0Add New Cron Job. The new cron job settings take effect immediately.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After disabling the default WordPress cron job, you\u2019re now set to configure your own custom cron job. The advantage of such a cron job is that it runs at a fixed time which you will set when configuring the cron job. To configure the cron job you can use The cpanel and Ssh or command [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1838],"doc_tag":[],"class_list":["post-5139","docs","type-docs","status-publish","hentry","doc_category-wordpress"],"year_month":"2026-06","word_count":160,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"simon m","author_nicename":"simon","author_url":"https:\/\/truehost.com\/support\/author\/simon\/"},"doc_category_info":[{"term_name":"WordPress","term_url":"https:\/\/truehost.com\/support\/docs-category\/wordpress\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configuring a custom Cron job in WordPress Using the Cpanel -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring a custom Cron job in WordPress Using the Cpanel -\" \/>\n<meta property=\"og:description\" content=\"After disabling the default WordPress cron job, you\u2019re now set to configure your own custom cron job. The advantage of such a cron job is that it runs at a fixed time which you will set when configuring the cron job. To configure the cron job you can use The cpanel and Ssh or command [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-21T08:31:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/configuring-custom-cron-job-wordpress-using-cpanel\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/configuring-custom-cron-job-wordpress-using-cpanel\\\/\",\"name\":\"Configuring a custom Cron job in WordPress Using the Cpanel -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"datePublished\":\"2018-05-15T12:42:16+00:00\",\"dateModified\":\"2024-06-21T08:31:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/configuring-custom-cron-job-wordpress-using-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/configuring-custom-cron-job-wordpress-using-cpanel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/configuring-custom-cron-job-wordpress-using-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring a custom Cron job in WordPress Using the Cpanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring a custom Cron job in WordPress Using the Cpanel -","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:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Configuring a custom Cron job in WordPress Using the Cpanel -","og_description":"After disabling the default WordPress cron job, you\u2019re now set to configure your own custom cron job. The advantage of such a cron job is that it runs at a fixed time which you will set when configuring the cron job. To configure the cron job you can use The cpanel and Ssh or command [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/","article_modified_time":"2024-06-21T08:31:49+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/","name":"Configuring a custom Cron job in WordPress Using the Cpanel -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"datePublished":"2018-05-15T12:42:16+00:00","dateModified":"2024-06-21T08:31:49+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/configuring-custom-cron-job-wordpress-using-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"Configuring a custom Cron job in WordPress Using the Cpanel"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/5139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=5139"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/5139\/revisions"}],"predecessor-version":[{"id":5140,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/5139\/revisions\/5140"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=5139"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=5139"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=5139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}