{"id":7279,"date":"2018-04-30T13:56:00","date_gmt":"2018-04-30T16:56:00","guid":{"rendered":"https:\/\/king.host\/wiki\/?post_type=article&#038;p=7279"},"modified":"2021-12-04T11:24:34","modified_gmt":"2021-12-04T13:24:34","slug":"wp-cron-wordpress","status":"publish","type":"article","link":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/","title":{"rendered":"Gerenciando a execu\u00e7\u00e3o de cronjobs no WordPress"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Primeiramente vamos entender um pouco mais sobre o wp cron, que \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a class=\"deve-redirecionar\" href=\"https:\/\/king.host\/hospedagem-wordpress?utm_source=wiki&amp;utm_medium=banner&amp;utm_term=wp-banner-top&amp;utm_content=wp-cron-wordpress&amp;utm_campaign=oferta-produto\" target=\"_blank\" v-on:click=\"toggle_modal\" rel=\"noopener\"><img data-original=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2021\/10\/WP-970x250-1-960x247.png\" alt=\"Plataforma completa para um site WordPress.\" class=\"wp-image-22356\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sobretudo, o WP-CLI \u00e9 um pacote que adiciona a um terminal SSH a op\u00e7\u00e3o de utilizar comandos dedicados ao WordPress atrav\u00e9s da linha de comando. Em outras palavras, o comando \u00e9 respons\u00e1vel por visualizar e manipular as crons agendadas para execu\u00e7\u00e3o em um site WordPress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><alerta><strong>Importante<\/strong>: O uso do WP-CLI exige um conhecimento avan\u00e7ado em sites WordPress e execu\u00e7\u00e3o de comandos via terminal SSH. \u00c9 importante fazer um backup do conte\u00fado do site e banco de dados antes de realizar qualquer altera\u00e7\u00e3o.<\/alerta><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Utilizando_o_wp_cron\"><\/span>Utilizando o wp cron<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">O comando mais simples \u00e9 o de listagem de crons agendadas. Al\u00e9m disso, na sa\u00edda, podemos verificar a <em>hook<\/em>, pr\u00f3xima execu\u00e7\u00e3o da cron e a recorr\u00eancia. Como resultado, podemos ver o exemplo a seguir:<br> <kh-terminal>wp cron event list<\/kh-terminal><br> <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron01.png\"><img decoding=\"async\" width=\"958\" height=\"484\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron01.png\" alt=\"wp cron event list\" class=\"wp-image-7281 lazyload\" data-srcset=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron01.png 958w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron01-300x152.png 300w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron01-768x388.png 768w\" data-sizes=\"(max-width: 958px) 100vw, 958px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 958px; --smush-placeholder-aspect-ratio: 958\/484;\" \/><\/a><figcaption>event list<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Verificar_se_as_tarefas_estao_rodando_corretamente\"><\/span>Verificar se as tarefas est\u00e3o rodando corretamente<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Execute o seguinte comando:<br>\n<kh-terminal>wp cron test<\/kh-terminal><br>\n<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron02.png\"><img decoding=\"async\" width=\"904\" height=\"126\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron02.png\" alt=\"Testando wp cron.\" class=\"wp-image-7284 lazyload\" data-srcset=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron02.png 904w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron02-300x42.png 300w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron02-768x107.png 768w\" data-sizes=\"(max-width: 904px) 100vw, 904px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 904px; --smush-placeholder-aspect-ratio: 904\/126;\" \/><\/a><figcaption>test<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Deletar_um_evento\"><\/span>Deletar um evento<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Utilize o comando abaixo substituindo o termo <strong>hook<\/strong> pelo corresponde ao que voc\u00ea deseja remover.<br>\n<kh-terminal>wp cron event delete <span style=\"color:#0073aa;\">hook<\/span><\/kh-terminal><br>\n<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron03.png\"><img decoding=\"async\" width=\"965\" height=\"468\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron03.png\" alt=\"Deletando um evento.\" class=\"wp-image-7286 lazyload\" data-srcset=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron03.png 965w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron03-300x145.png 300w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron03-768x372.png 768w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron03-960x466.png 960w\" data-sizes=\"(max-width: 965px) 100vw, 965px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 965px; --smush-placeholder-aspect-ratio: 965\/468;\" \/><\/a><figcaption>event delete<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Forcar_a_execucao_de_uma_cron\"><\/span>For\u00e7ar a execu\u00e7\u00e3o de uma cron<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><kh-terminal>wp cron event run <span style=\"color:#0073aa;\">hook<\/span><\/kh-terminal><br>\n<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron04.png\"><img decoding=\"async\" width=\"979\" height=\"89\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron04.png\" alt=\"For\u00e7ando a execu\u00e7\u00e3o de uma cron.\" class=\"wp-image-7288 lazyload\" data-srcset=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron04.png 979w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron04-300x27.png 300w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron04-768x70.png 768w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron04-960x87.png 960w\" data-sizes=\"(max-width: 979px) 100vw, 979px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 979px; --smush-placeholder-aspect-ratio: 979\/89;\" \/><\/a><figcaption>event run<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Agendar_uma_tarefa\"><\/span>Agendar uma tarefa<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Esse comando exige um pouco mais de par\u00e2metros, veja:<br> <kh-terminal>wp cron event schedule <span style=\"color:#0073aa;\">hook<\/span> <span style=\"color:#0073aa;\">next-run<\/span> <span style=\"color:#0073aa;\">recurrence<\/span><\/kh-terminal><br> Voc\u00ea deve definir a pr\u00f3xima data e hora para execu\u00e7\u00e3o (next-run) e a recorr\u00eancia da tarefa. Como resultado teremos o seguinte:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron05.png\"><img decoding=\"async\" width=\"976\" height=\"465\" data-src=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron05.png\" alt=\"Listagem wp cron\" class=\"wp-image-7291 lazyload\" data-srcset=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron05.png 976w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron05-300x143.png 300w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron05-768x366.png 768w, https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/04\/wpcron05-960x457.png 960w\" data-sizes=\"(max-width: 976px) 100vw, 976px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 976px; --smush-placeholder-aspect-ratio: 976\/465;\" \/><\/a><figcaption>event schedule<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><em>       <\/em><\/p>\n","protected":false},"author":9,"featured_media":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","article-category":[207],"article-tag":[],"class_list":["post-7279","article","type-article","status-publish","format-standard","hentry","article-category-wp-cli"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"teste.andre\"\/>\n\t<meta name=\"google-site-verification\" content=\"ofqjo5zOS5ZIGtLClOeuFS3sGuOFAUlE6pyxkKJuj8w\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_BR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Central de Ajuda KingHost - Central de Ajuda KingHost\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress\" \/>\n\t\t<meta property=\"og:description\" content=\"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-04-30T16:56:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-12-04T13:24:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/KingHost.Brasil\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@kinghost\" \/>\n\t\t<meta name=\"twitter:title\" content=\"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@kinghost\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki#listItem\",\"position\":1,\"name\":\"In\\u00edcio\",\"item\":\"https:\\\/\\\/king.host\\\/wiki\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/#listItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-cli\\\/#listItem\",\"name\":\"WP-CLI\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki#listItem\",\"name\":\"In\\u00edcio\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-cli\\\/#listItem\",\"position\":3,\"name\":\"WP-CLI\",\"item\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-cli\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#listItem\",\"name\":\"Gerenciando a execu\\u00e7\\u00e3o de cronjobs no WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#listItem\",\"position\":4,\"name\":\"Gerenciando a execu\\u00e7\\u00e3o de cronjobs no WordPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/base-de-conhecimento\\\/wp-cli\\\/#listItem\",\"name\":\"WP-CLI\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#organization\",\"name\":\"kingHost Hospedagem de Sites\",\"description\":\"Central de Ajuda KingHost\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/\",\"telephone\":\"+5551996659627\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/kinghost.png\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#organizationLogo\",\"width\":377,\"height\":73},\"image\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/KingHost.Brasil\",\"https:\\\/\\\/twitter.com\\\/kinghost\",\"https:\\\/\\\/www.instagram.com\\\/kinghost\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC41tI4JaVY8rde3XnM2S4mw\",\"https:\\\/\\\/br.linkedin.com\\\/company\\\/kinghost\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/#author\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/\",\"name\":\"teste.andre\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0be41e3058e57314366aa7797c6ac15d0e4ddcaea62bf3ab0028f3ace791221?s=96&d=https%3A%2F%2Fking.host%2Fwiki%2Fwp-content%2Fuploads%2F2018%2F05%2Ftime-marketing-avatar.jpeg&r=g\",\"width\":96,\"height\":96,\"caption\":\"teste.andre\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#webpage\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/\",\"name\":\"wp cron - Gerenciar a execu\\u00e7\\u00e3o de cronjobs no WordPress\",\"description\":\"O wp cron \\u00e9 um dos comandos dispon\\u00edveis para um site WordPress atrav\\u00e9s do WP-CLI. \\u00c9 respons\\u00e1vel por visualizar e manipular as crons agendadas.\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/artigo\\\/wp-cron-wordpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/author\\\/andre-santos\\\/#author\"},\"datePublished\":\"2018-04-30T13:56:00-03:00\",\"dateModified\":\"2021-12-04T11:24:34-03:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#website\",\"url\":\"https:\\\/\\\/king.host\\\/wiki\\\/\",\"name\":\"Central de Ajuda KingHost\",\"description\":\"Central de Ajuda KingHost\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/king.host\\\/wiki\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress","description":"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.","canonical_url":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"ofqjo5zOS5ZIGtLClOeuFS3sGuOFAUlE6pyxkKJuj8w","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/king.host\/wiki#listItem","position":1,"name":"In\u00edcio","item":"https:\/\/king.host\/wiki","nextItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/#listItem","name":"WordPress"}},{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/#listItem","position":2,"name":"WordPress","item":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/","nextItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-cli\/#listItem","name":"WP-CLI"},"previousItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki#listItem","name":"In\u00edcio"}},{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-cli\/#listItem","position":3,"name":"WP-CLI","item":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-cli\/","nextItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#listItem","name":"Gerenciando a execu\u00e7\u00e3o de cronjobs no WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wordpress\/#listItem","name":"WordPress"}},{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#listItem","position":4,"name":"Gerenciando a execu\u00e7\u00e3o de cronjobs no WordPress","previousItem":{"@type":"ListItem","@id":"https:\/\/king.host\/wiki\/base-de-conhecimento\/wp-cli\/#listItem","name":"WP-CLI"}}]},{"@type":"Organization","@id":"https:\/\/king.host\/wiki\/#organization","name":"kingHost Hospedagem de Sites","description":"Central de Ajuda KingHost","url":"https:\/\/king.host\/wiki\/","telephone":"+5551996659627","logo":{"@type":"ImageObject","url":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2021\/09\/kinghost.png","@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#organizationLogo","width":377,"height":73},"image":{"@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/KingHost.Brasil","https:\/\/twitter.com\/kinghost","https:\/\/www.instagram.com\/kinghost\/","https:\/\/www.youtube.com\/channel\/UC41tI4JaVY8rde3XnM2S4mw","https:\/\/br.linkedin.com\/company\/kinghost"]},{"@type":"Person","@id":"https:\/\/king.host\/wiki\/author\/andre-santos\/#author","url":"https:\/\/king.host\/wiki\/author\/andre-santos\/","name":"teste.andre","image":{"@type":"ImageObject","@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b0be41e3058e57314366aa7797c6ac15d0e4ddcaea62bf3ab0028f3ace791221?s=96&d=https%3A%2F%2Fking.host%2Fwiki%2Fwp-content%2Fuploads%2F2018%2F05%2Ftime-marketing-avatar.jpeg&r=g","width":96,"height":96,"caption":"teste.andre"}},{"@type":"WebPage","@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#webpage","url":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/","name":"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress","description":"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/king.host\/wiki\/#website"},"breadcrumb":{"@id":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/#breadcrumblist"},"author":{"@id":"https:\/\/king.host\/wiki\/author\/andre-santos\/#author"},"creator":{"@id":"https:\/\/king.host\/wiki\/author\/andre-santos\/#author"},"datePublished":"2018-04-30T13:56:00-03:00","dateModified":"2021-12-04T11:24:34-03:00"},{"@type":"WebSite","@id":"https:\/\/king.host\/wiki\/#website","url":"https:\/\/king.host\/wiki\/","name":"Central de Ajuda KingHost","description":"Central de Ajuda KingHost","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/king.host\/wiki\/#organization"}}]},"og:locale":"pt_BR","og:site_name":"Central de Ajuda KingHost - Central de Ajuda KingHost","og:type":"article","og:title":"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress","og:description":"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.","og:url":"https:\/\/king.host\/wiki\/artigo\/wp-cron-wordpress\/","og:image":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png","og:image:secure_url":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png","og:image:width":1920,"og:image:height":1080,"article:published_time":"2018-04-30T16:56:00+00:00","article:modified_time":"2021-12-04T13:24:34+00:00","article:publisher":"https:\/\/www.facebook.com\/KingHost.Brasil","twitter:card":"summary_large_image","twitter:site":"@kinghost","twitter:title":"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress","twitter:description":"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.","twitter:creator":"@kinghost","twitter:image":"https:\/\/king.host\/wiki\/wp-content\/uploads\/2018\/08\/central-de-ajuda-kinghost.png"},"aioseo_meta_data":{"post_id":"7279","title":"wp cron - Gerenciar a execu\u00e7\u00e3o de cronjobs no WordPress","description":"O wp cron \u00e9 um dos comandos dispon\u00edveis para um site WordPress atrav\u00e9s do WP-CLI. \u00c9 respons\u00e1vel por visualizar e manipular as crons agendadas.","keywords":[],"keyphrases":{"focus":{"keyphrase":"wp cron","analysis":{"keyphraseInTitle":{"title":"Focus Keyphrase in SEO title","description":"Focus Keyphrase found in SEO title.","score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"title":"Focus keyphrase in meta description","description":"Focus keyphrase found in meta description.","score":9,"maxScore":9,"error":0},"keyphraseInURL":{"title":"Focus Keyphrase in URL","description":"Focus Keyphrase used in the URL.","score":5,"maxScore":5,"error":0},"keyphraseLength":{"title":"Focus keyphrase length","description":"Good job!","score":9,"maxScore":9,"error":0,"length":2},"keyphraseInIntroduction":{"title":"Focus keyphrase in introduction","description":"Your Focus keyphrase appears in the first paragraph. Well done!","score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"title":"Focus Keyphrase in Subheadings","description":"Use more focus keyphrases in your H2 and H3 subheadings!","score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"title":"Focus keyphrase in image alt attributes","description":"Focus keyphrase found in image alt attribute(s).","score":9,"maxScore":9,"error":0}},"score":90},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":null,"isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-05-12 14:07:13","updated":"2026-07-20 15:58:16","seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article\/7279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/comments?post=7279"}],"version-history":[{"count":9,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article\/7279\/revisions"}],"predecessor-version":[{"id":22494,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article\/7279\/revisions\/22494"}],"wp:attachment":[{"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/media?parent=7279"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article-category?post=7279"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/king.host\/wiki\/wp-json\/wp\/v2\/article-tag?post=7279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}