{"id":3782,"date":"2026-07-22T15:57:51","date_gmt":"2026-07-22T15:57:51","guid":{"rendered":"https:\/\/disoh.com\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/"},"modified":"2026-07-22T15:57:51","modified_gmt":"2026-07-22T15:57:51","password":"","slug":"como-faco-para-configurar-uma-tarefa-cron-no-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/pt\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/","title":{"rendered":"Como fa\u00e7o para configurar uma tarefa cron no DirectAdmin?"},"content":{"rendered":"<p>Uma tarefa cron executa um comando ou script automaticamente de acordo com uma programa\u00e7\u00e3o. Ela \u00e9 \u00fatil para tarefas como enviar relat\u00f3rios, limpar caches ou acionar eventos programados do WordPress de forma confi\u00e1vel. Veja a seguir como criar uma no DirectAdmin.<\/p>\n<h2>Antes de come\u00e7ar<\/h2>\n<ul>\n<li>Saiba o caminho exato do comando ou do script que voc\u00ea deseja executar.<\/li>\n<li>Decida com que frequ\u00eancia ele deve ser executado.<\/li>\n<\/ul>\n<h2>Passo a passo: como criar uma tarefa cron<\/h2>\n<ol>\n<li>Fa\u00e7a login no DirectAdmin (geralmente <em>seudominio.com:2222<\/em>).<\/li>\n<li>Ir para <strong>Recursos avan\u00e7ados<\/strong> e clique em <strong>Empregos na Cron<\/strong>.<\/li>\n<li>Defina a programa\u00e7\u00e3o usando os campos de minutos, horas, dias, meses e dias da semana.<\/li>\n<li>Digite o comando a ser executado no campo de comando.<\/li>\n<li>Clique em <strong>Adicionar<\/strong>.<\/li>\n<\/ol>\n<h2>Entendendo os campos da programa\u00e7\u00e3o<\/h2>\n<ul>\n<li><strong>Ata:<\/strong> 0 a 59.<\/li>\n<li><strong>Hora:<\/strong> 0 a 23.<\/li>\n<li><strong>Dia do m\u00eas:<\/strong> 1 a 31.<\/li>\n<li><strong>M\u00eas:<\/strong> 1 a 12.<\/li>\n<li><strong>Dia da semana:<\/strong> 0 a 6 (sendo 0 o domingo).<\/li>\n<li>Um asterisco (*) significa \u201ctodos\u201d.<\/li>\n<\/ul>\n<p>Exemplo: <em>0 3 * * *<\/em> executa uma tarefa todos os dias \u00e0s 3h da manh\u00e3.<\/p>\n<h2>Exemplo comum do WordPress<\/h2>\n<p>Para executar o cron do WordPress de forma confi\u00e1vel, voc\u00ea pode chamar o wp-cron em intervalos programados, por exemplo, a cada 15 minutos, usando um comando que seu desenvolvedor ou nossa equipe de suporte possa fornecer para a sua configura\u00e7\u00e3o.<\/p>\n<h2>Dicas<\/h2>\n<ul>\n<li>Evite agendar tarefas pesadas com muita frequ\u00eancia.<\/li>\n<li>Envie a sa\u00edda para um arquivo de log para que voc\u00ea possa verificar os resultados.<\/li>\n<li>Se poss\u00edvel, teste o comando manualmente primeiro.<\/li>\n<\/ul>\n<h2>Solu\u00e7\u00e3o de problemas<\/h2>\n<ul>\n<li><strong>A tarefa n\u00e3o est\u00e1 sendo executada:<\/strong> Verifique novamente o caminho do comando e a programa\u00e7\u00e3o.<\/li>\n<li><strong>E-mails em excesso:<\/strong> redirecionar a sa\u00edda para um arquivo de log em vez de para um e-mail.<\/li>\n<li><strong>Erros de permiss\u00e3o:<\/strong> Confirme se o script \u00e9 execut\u00e1vel.<\/li>\n<\/ul>\n<h2>Precisa de ajuda?<\/h2>\n<p>A sintaxe do Cron pode ser confusa. Entre em contato com nossa equipe de suporte pelo chat ao vivo e n\u00f3s o ajudaremos a definir a programa\u00e7\u00e3o correta.<\/p>","protected":false},"excerpt":{"rendered":"<p>A cron job runs a command or script automatically on a schedule. It is useful for tasks like sending reports, clearing caches, or triggering WordPress scheduled events reliably. Here is how to create one in DirectAdmin. Before you start Know the exact command or script path you want to run. Decide how often it should [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[12],"doc_tag":[],"class_list":["post-3782","docs","type-docs","status-publish","hentry","doc_category-webhosting"],"year_month":"2026-07","word_count":240,"total_views":"67","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/pt\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/pt\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I set up a cron job in DirectAdmin? &#8211; Disoh<\/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:\/\/disoh.com\/pt\/suporte\/como-faco-para-configurar-uma-tarefa-cron-no-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I set up a cron job in DirectAdmin? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"A cron job runs a command or script automatically on a schedule. It is useful for tasks like sending reports, clearing caches, or triggering WordPress scheduled events reliably. Here is how to create one in DirectAdmin. Before you start Know the exact command or script path you want to run. Decide how often it should [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/pt\/suporte\/como-faco-para-configurar-uma-tarefa-cron-no-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-set-up-a-cron-job-in-directadmin\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-set-up-a-cron-job-in-directadmin\\\/\",\"name\":\"How do I set up a cron job in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\"},\"datePublished\":\"2026-07-22T15:57:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-set-up-a-cron-job-in-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-set-up-a-cron-job-in-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-set-up-a-cron-job-in-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I set up a cron job in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como configuro uma tarefa cron no DirectAdmin? \u2013 Disoh","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:\/\/disoh.com\/pt\/suporte\/como-faco-para-configurar-uma-tarefa-cron-no-directadmin\/","og_locale":"pt_BR","og_type":"article","og_title":"How do I set up a cron job in DirectAdmin? &#8211; Disoh","og_description":"A cron job runs a command or script automatically on a schedule. It is useful for tasks like sending reports, clearing caches, or triggering WordPress scheduled events reliably. Here is how to create one in DirectAdmin. Before you start Know the exact command or script path you want to run. Decide how often it should [&hellip;]","og_url":"https:\/\/disoh.com\/pt\/suporte\/como-faco-para-configurar-uma-tarefa-cron-no-directadmin\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/","url":"https:\/\/disoh.com\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/","name":"Como configuro uma tarefa cron no DirectAdmin? \u2013 Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/#website"},"datePublished":"2026-07-22T15:57:51+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How do I set up a cron job in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/#website","url":"https:\/\/disoh.com\/","name":"Disque","description":"Hospedagem de solu\u00e7\u00f5es digitais","publisher":{"@id":"https:\/\/disoh.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/disoh.com\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/docs\/3782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/comments?post=3782"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/docs\/3782\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/media?parent=3782"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/doc_category?post=3782"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/doc_tag?post=3782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}