{"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":"comment-configurer-une-tache-cron-dans-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/fr\/support\/how-do-i-set-up-a-cron-job-in-directadmin\/","title":{"rendered":"Comment configurer une t\u00e2che cron dans DirectAdmin ?"},"content":{"rendered":"<p>Une t\u00e2che cron ex\u00e9cute automatiquement une commande ou un script selon un calendrier d\u00e9fini. Elle est utile pour des t\u00e2ches telles que l'envoi de rapports, la vidange des caches ou le d\u00e9clenchement fiable d'\u00e9v\u00e9nements programm\u00e9s sous WordPress. Voici comment en cr\u00e9er une dans DirectAdmin.<\/p>\n<h2>Avant de commencer<\/h2>\n<ul>\n<li>Vous devez conna\u00eetre le chemin d'acc\u00e8s exact de la commande ou du script que vous souhaitez ex\u00e9cuter.<\/li>\n<li>D\u00e9terminez \u00e0 quelle fr\u00e9quence il doit s'ex\u00e9cuter.<\/li>\n<\/ul>\n<h2>\u00c9tape par \u00e9tape : cr\u00e9er une t\u00e2che cron<\/h2>\n<ol>\n<li>Connectez-vous \u00e0 DirectAdmin (g\u00e9n\u00e9ralement <em>votredomaine.com:2222<\/em>).<\/li>\n<li>Aller \u00e0 <strong>Fonctionnalit\u00e9s avanc\u00e9es<\/strong> et cliquez sur <strong>Emplois Cron<\/strong>.<\/li>\n<li>D\u00e9finissez le planning \u00e0 l'aide des champs \u00ab minute \u00bb, \u00ab heure \u00bb, \u00ab jour \u00bb, \u00ab mois \u00bb et \u00ab jour de la semaine \u00bb.<\/li>\n<li>Saisissez la commande \u00e0 ex\u00e9cuter dans le champ de commande.<\/li>\n<li>Cliquez sur <strong>Ajouter<\/strong>.<\/li>\n<\/ol>\n<h2>Comprendre les champs du calendrier<\/h2>\n<ul>\n<li><strong>Proc\u00e8s-verbal :<\/strong> De 0 \u00e0 59.<\/li>\n<li><strong>Heure :<\/strong> De 0 \u00e0 23.<\/li>\n<li><strong>Jour du mois :<\/strong> Du 1er au 31.<\/li>\n<li><strong>Mois :<\/strong> De 1 \u00e0 12.<\/li>\n<li><strong>Jour de la semaine :<\/strong> De 0 \u00e0 6 (0 correspondant au dimanche).<\/li>\n<li>Un ast\u00e9risque (*) signifie \u201c tous \u201d.<\/li>\n<\/ul>\n<p>Exemple : <em>0 3 * * *<\/em> ex\u00e9cute une t\u00e2che tous les jours \u00e0 3 h du matin.<\/p>\n<h2>Exemple courant sous WordPress<\/h2>\n<p>Pour garantir le bon fonctionnement du cron de WordPress, vous pouvez lancer wp-cron selon une fr\u00e9quence d\u00e9finie, par exemple toutes les 15 minutes, \u00e0 l'aide d'une commande que votre d\u00e9veloppeur ou notre \u00e9quipe d'assistance pourra vous fournir en fonction de votre configuration.<\/p>\n<h2>Conseils<\/h2>\n<ul>\n<li>\u00c9vitez de programmer des t\u00e2ches lourdes trop souvent.<\/li>\n<li>Envoyez les donn\u00e9es de sortie vers un fichier journal afin de pouvoir v\u00e9rifier les r\u00e9sultats.<\/li>\n<li>Si possible, testez d'abord la commande manuellement.<\/li>\n<\/ul>\n<h2>D\u00e9pannage<\/h2>\n<ul>\n<li><strong>Le job ne s'ex\u00e9cute pas :<\/strong> V\u00e9rifiez \u00e0 nouveau le chemin d'acc\u00e8s \u00e0 la commande et la planification.<\/li>\n<li><strong>Trop d'e-mails :<\/strong> rediriger la sortie vers un fichier journal plut\u00f4t que vers un e-mail.<\/li>\n<li><strong>Erreurs de droits d'acc\u00e8s :<\/strong> V\u00e9rifiez que le script est ex\u00e9cutable.<\/li>\n<\/ul>\n<h2>Besoin d'aide ?<\/h2>\n<p>La syntaxe de Cron peut pr\u00eater \u00e0 confusion. Contactez notre \u00e9quipe d'assistance via le chat en direct et nous vous aiderons \u00e0 configurer correctement votre planning.<\/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-10","word_count":240,"total_views":"175","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/fr\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/fr\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - 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\/fr\/soutien\/comment-configurer-une-tache-cron-dans-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\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\/fr\/soutien\/comment-configurer-une-tache-cron-dans-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=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\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:\\\/\\\/disoh.com\\\/de\\\/unterstutzung\\\/wie-richte-ich-einen-cron-job-in-directadmin-ein\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/de\\\/unterstutzung\\\/wie-richte-ich-einen-cron-job-in-directadmin-ein\\\/\",\"name\":\"How do I set up a cron job in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#website\"},\"datePublished\":\"2026-07-22T15:57:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/de\\\/unterstutzung\\\/wie-richte-ich-einen-cron-job-in-directadmin-ein\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/de\\\/unterstutzung\\\/wie-richte-ich-einen-cron-job-in-directadmin-ein\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/de\\\/unterstutzung\\\/wie-richte-ich-einen-cron-job-in-directadmin-ein\\\/#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\\\/sv\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/sv\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/sv\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/sv\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#\\\/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\\\/sv\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comment configurer une t\u00e2che cron dans 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\/fr\/soutien\/comment-configurer-une-tache-cron-dans-directadmin\/","og_locale":"fr_FR","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\/fr\/soutien\/comment-configurer-une-tache-cron-dans-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":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/de\/unterstutzung\/wie-richte-ich-einen-cron-job-in-directadmin-ein\/","url":"https:\/\/disoh.com\/de\/unterstutzung\/wie-richte-ich-einen-cron-job-in-directadmin-ein\/","name":"Comment configurer une t\u00e2che cron dans DirectAdmin ? \u2013 Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/sv\/#website"},"datePublished":"2026-07-22T15:57:51+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/de\/unterstutzung\/wie-richte-ich-einen-cron-job-in-directadmin-ein\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/de\/unterstutzung\/wie-richte-ich-einen-cron-job-in-directadmin-ein\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/de\/unterstutzung\/wie-richte-ich-einen-cron-job-in-directadmin-ein\/#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\/sv\/#website","url":"https:\/\/disoh.com\/sv\/","name":"Disoh","description":"Solutions num\u00e9riques H\u00e9bergement","publisher":{"@id":"https:\/\/disoh.com\/sv\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/sv\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/disoh.com\/sv\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/sv\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/disoh.com\/sv\/#\/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\/sv\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/docs\/3782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/comments?post=3782"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/docs\/3782\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/media?parent=3782"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/doc_category?post=3782"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=3782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}