{"id":379,"date":"2025-09-10T13:56:35","date_gmt":"2025-09-10T10:56:35","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=23"},"modified":"2026-09-11T19:25:17","modified_gmt":"2026-09-11T16:25:17","slug":"directadmin-cron-job-olusturma","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/directadmin-cron-job-olusturma\/","title":{"rendered":"DirectAdmin Cron Job Olu\u015fturma"},"content":{"rendered":"<p><strong>Cron Job<\/strong>, DirectAdmin kontrol panelinde belirli zaman aral\u0131klar\u0131nda otomatik olarak \u00e7al\u0131\u015fan g\u00f6revlerdir. Web sitenizde d\u00fczenli olarak \u00e7al\u0131\u015ft\u0131rman\u0131z gereken i\u015flemleri (\u00f6rne\u011fin veritaban\u0131 yedekleme, rapor olu\u015fturma, e-posta g\u00f6nderimi vb.) manuel yapman\u0131za gerek kalmadan otomatik hale getirmenizi sa\u011flar.<\/p>\n<p>Bu rehberde, DirectAdmin paneli \u00fczerinden nas\u0131l Cron Job tan\u0131mlayabilece\u011finizi ad\u0131m ad\u0131m anlatt\u0131k.<\/p>\n<h2 class=\"wp-block-heading\"><span id=\"Cron_Job_Nasil_Olusturulur\" class=\"ez-toc-section\"><\/span>Cron Job Nas\u0131l Olu\u015fturulur?<\/h2>\n<h3>Ad\u0131m 1 \u2013 DirectAdmin Paneline Giri\u015f Yap\u0131n<\/h3>\n<p>DirectAdmin kontrol panelinize giri\u015f yapt\u0131ktan sonra sol men\u00fcde yer alan <strong>Geli\u015fmi\u015f \u00d6zellikler (Advanced Features)<\/strong> b\u00f6l\u00fcm\u00fcne t\u0131klay\u0131n. Ard\u0131ndan, a\u00e7\u0131lan men\u00fcden <strong>Zamanlanm\u0131\u015f G\u00f6revler (Cron Jobs)<\/strong> sekmesine ge\u00e7i\u015f yap\u0131n.<\/p>\n<figure class=\"wp-block-image size-full\"><\/figure>\n<h3 class=\"wp-block-heading\"><span id=\"Adim_2_%E2%80%93_Cron_Ekle\" class=\"ez-toc-section\"><\/span>Ad\u0131m 2 \u2013 Cron Ekle<\/h3>\n<figure>Cron Jobs sayfas\u0131nda, sa\u011f \u00fcst k\u0131s\u0131mda bulunan <strong>G\u00f6rev Ekle<\/strong> (Add Cron Job) butonuna t\u0131klay\u0131n. Bu sayfada zamanlama ayarlar\u0131 ve \u00e7al\u0131\u015ft\u0131rmak istedi\u011finiz komut sat\u0131r\u0131 yer alacakt\u0131r.<\/figure>\n<figure class=\"wp-block-image size-large\"><\/figure>\n<h3 class=\"wp-block-heading\"><span id=\"Adim_3_%E2%80%93_Cron_Icerigi\" class=\"ez-toc-section\"><\/span>Ad\u0131m 3 \u2013 Cron \u0130\u00e7eri\u011fi<\/h3>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<p>Yeni Cron Job tan\u0131mlarken a\u015fa\u011f\u0131daki alanlar\u0131 doldurman\u0131z gerekir:<\/p>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<h4>\u23f1 Zamanlama Ayarlar\u0131<\/h4>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<p>Her alan i\u00e7in belirli de\u011ferler girerek g\u00f6revin ne zaman \u00e7al\u0131\u015faca\u011f\u0131n\u0131 belirlersiniz:<\/p>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<div class=\"_tableContainer_1rjym_1\">\n<div class=\"_tableWrapper_1rjym_13 group flex w-fit flex-col-reverse\" tabindex=\"-1\">\n<table class=\"w-fit min-w-(--thread-content-width)\">\n<thead>\n<tr>\n<th data-col-size=\"sm\">Alan<\/th>\n<th data-col-size=\"sm\">A\u00e7\u0131klama<\/th>\n<th data-col-size=\"sm\">\u00d6rnek De\u011fer<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-col-size=\"sm\">Dakika<\/td>\n<td data-col-size=\"sm\">0\u201359<\/td>\n<td data-col-size=\"sm\"><code>*\/5<\/code> (her 5 dakikada bir)<\/td>\n<\/tr>\n<tr>\n<td data-col-size=\"sm\">Saat<\/td>\n<td data-col-size=\"sm\">0\u201323<\/td>\n<td data-col-size=\"sm\"><code>2<\/code> (saat 02:00)<\/td>\n<\/tr>\n<tr>\n<td data-col-size=\"sm\">G\u00fcn (Ay)<\/td>\n<td data-col-size=\"sm\">1\u201331<\/td>\n<td data-col-size=\"sm\"><code>1,15<\/code> (ay\u0131n 1\u2019i ve 15\u2019i)<\/td>\n<\/tr>\n<tr>\n<td data-col-size=\"sm\">Ay<\/td>\n<td data-col-size=\"sm\">1\u201312<\/td>\n<td data-col-size=\"sm\"><code>*<\/code> (her ay)<\/td>\n<\/tr>\n<tr>\n<td data-col-size=\"sm\">G\u00fcn (Hafta)<\/td>\n<td data-col-size=\"sm\">0\u20137 (0 ve 7 = Pazar)<\/td>\n<td data-col-size=\"sm\"><code>1-5<\/code> (hafta i\u00e7i)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<h4>\u26d3 Komut Sat\u0131r\u0131<\/h4>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<p>Bu alana cron taraf\u0131ndan \u00e7al\u0131\u015ft\u0131r\u0131lacak komutu yazman\u0131z gerekir. A\u015fa\u011f\u0131da baz\u0131 \u00f6rnekler yer almaktad\u0131r:<\/p>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<pre><code><code># PHP dosyas\u0131n\u0131 \u00e7al\u0131\u015ft\u0131rmak i\u00e7in\r\nphp \/home\/kullanici\/domains\/siteniz.com\/public_html\/script.php<\/code><\/pre>\n<p><\/code># curl ile cron tetiklemek<br \/>\ncurl --silent http:\/\/www.siteniz.com\/cron.php &gt; \/dev\/null<\/p>\n<pre><code><code><\/code><\/pre>\n<p><\/code># wget ile cron tetiklemek<br \/>\nwget -O \/dev\/null http:\/\/www.siteniz.com\/cron.php<\/p>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<hr \/>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<h3>\ud83e\udde0 Zamanlama Format\u0131 \u00d6rnekleri<\/h3>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<ul>\n<li>\n<p><code>*\/10 * * * *<\/code> \u2192 Her 10 dakikada bir \u00e7al\u0131\u015f\u0131r<\/p>\n<\/li>\n<li>\n<p><code>0 0 * * *<\/code> \u2192 Her g\u00fcn saat 00:00'da \u00e7al\u0131\u015f\u0131r<\/p>\n<\/li>\n<li>\n<p><code>0 6 * * 1<\/code> \u2192 Her Pazartesi sabah saat 06:00'da \u00e7al\u0131\u015f\u0131r<\/p>\n<\/li>\n<li>\n<p><code>15 14 1 * *<\/code> \u2192 Her ay\u0131n 1\u2019i saat 14:15\u2019te \u00e7al\u0131\u015f\u0131r<\/p>\n<\/li>\n<\/ul>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<hr \/>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<h2>\u2705 Sonu\u00e7<\/h2>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<p>DirectAdmin \u00fczerinden Cron Job tan\u0131mlamak, zaman al\u0131c\u0131 i\u015flemleri otomatikle\u015ftirerek hem zaman kazand\u0131r\u0131r hem de hata riskini azalt\u0131r. Yukar\u0131daki ad\u0131mlar\u0131 izleyerek, web sitenizin arka planda ihtiya\u00e7 duydu\u011fu g\u00f6revleri kolayca planlayabilirsiniz.<\/p>\n<pre class=\"wp-block-code prettyprint prettyprinted\"><code><\/code><\/pre>\n<figure class=\"wp-block-image size-large\"><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Bu rehberde, DirectAdmin paneli \u00fczerinden nas\u0131l Cron Job tan\u0131mlayabilece\u011finizi ad\u0131m ad\u0131m anlatt\u0131k.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[39],"class_list":["post-379","post","type-post","status-publish","format-standard","hentry","category-vps-server","tag-directadmin"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":2,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":883,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/379\/revisions\/883"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}