{"id":484,"date":"2022-02-18T21:35:36","date_gmt":"2022-02-18T18:05:36","guid":{"rendered":"https:\/\/mjkhajeh.ir\/?p=484"},"modified":"2024-03-22T15:43:44","modified_gmt":"2024-03-22T12:13:44","slug":"create-and-using-cron-job-in-wordpress","status":"publish","type":"post","link":"https:\/\/mjkhajeh.ir\/blog\/create-and-using-cron-job-in-wordpress\/","title":{"rendered":"\u0633\u0627\u062e\u062a \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633"},"content":{"rendered":"<!-- wp:themify-builder\/canvas \/-->\n\n\n<p class=\"wp-block-paragraph\">\u0633\u0644\u0627\u0645<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\">\u0645\u0639\u0631\u0641\u06cc \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0634\u0627\u06cc\u062f \u062a\u0627 \u062d\u0627\u0644\u0627 \u0627\u0633\u0645 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u0631\u0648 \u0634\u0646\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u0646. \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u0627\u0645\u06a9\u0627\u0646\u06cc \u0647\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u062f\u0647 \u062a\u0648\u06cc \u0628\u0627\u0632\u0647 \u0647\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u0645\u062e\u062a\u0644\u0641 \u06a9\u0627\u0631 \u062e\u0627\u0635\u06cc \u06a9\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0647 \u0631\u0648 \u0627\u0646\u062c\u0627\u0645 \u0628\u062f\u0647. \u062a\u0627 \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc\u062f\u0648\u0646\u0645 \u062a\u0645\u0627\u0645 \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0627\u0631\u0646. \u062a\u0648\u06cc \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0645\u0645\u06a9\u0646\u0647 \u0646\u062d\u0648\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u06cc\u0627 \u0627\u0641\u0632\u0648\u062f\u0646 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0645\u0645\u06a9\u0646\u0647 \u0641\u0631\u0642 \u06a9\u0646\u0647. \u0645\u062b\u0644\u0627 \u062a\u0648\u06cc <a href=\"https:\/\/nodejs.org\" target=\"_blank\" rel=\"noreferrer noopener\">NodeJs<\/a> \u0645\u0639\u0631\u0648\u0641\u062a\u0631\u06cc\u0646 \u06a9\u062a\u0627\u0628\u062e\u0648\u0646\u0647 <a href=\"https:\/\/www.npmjs.com\/package\/cron\" target=\"_blank\" rel=\"noreferrer noopener\">cron<\/a> \u0647\u0633\u062a.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"256\" src=\"https:\/\/mjkhajeh.ir\/wp-content\/uploads\/2022\/02\/cron-job-1.png\" alt=\"\u0633\u0627\u062e\u062a \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 - Create and using cron job in WordPress\" class=\"wp-image-494\" style=\"width:256px;height:256px\" srcset=\"https:\/\/mjkhajeh.ir\/wp-content\/uploads\/2022\/02\/cron-job-1.png 256w, https:\/\/mjkhajeh.ir\/wp-content\/uploads\/2022\/02\/cron-job-1-150x150.png 150w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u06a9\u0631\u0648\u0646-\u062c\u0627\u0628-\u062f\u0631-\u0648\u0631\u062f\u067e\u0631\u0633\">\u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0632\u0628\u0627\u0646 PHP \u062e\u06cc\u0644\u06cc \u062e\u0648\u0628 \u0628\u0627 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u0648 \u06a9\u0631\u0648\u0646\u200c\u0647\u0627 \u0633\u0627\u0632\u06af\u0627\u0631 \u0647\u0633\u062a. \u0628\u0647\u062a\u0631 \u0627\u0632 \u0627\u0648\u0646 \u062a\u0648\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0646\u062d\u0648\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628\u200c\u0647\u0627 \u062e\u06cc\u0644\u06cc \u0633\u0627\u062f\u0647\u200c\u062a\u0631 \u0634\u062f\u0647.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0631\u0627\u06cc \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628\u200c\u0647\u0627 \u0628\u0647 \u06cc\u06a9 \u0628\u0627\u0632\u0647 \u0632\u0645\u0627\u0646\u06cc \u0648 \u062a\u0627\u0628\u0639\u06cc \u06a9\u0647 \u06a9\u0627\u0631\u06cc \u06a9\u0647 \u0645\u06cc\u062e\u0648\u0627\u06cc\u0645 \u0627\u0646\u062c\u0627\u0645 \u0628\u062f\u0647 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645. \u0648\u0631\u062f\u067e\u0631\u0633 \u0628\u0627\u0632\u0647 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0648 \u0627\u0632 \u067e\u06cc\u0634 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062f\u0627\u0631\u0647\u060c \u0627\u0645\u0627 \u0627\u06af\u0647 \u0628\u0647 \u0628\u0627\u0632\u0647 \u0647\u0627\u06cc \u062f\u06cc\u06af\u0647 \u0627\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u0628\u0627 \u0641\u06cc\u0644\u062a\u0631\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0644\u06cc\u0633\u062a \u0628\u0627\u0632\u0647\u200c\u0647\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u0627\u0632 \u067e\u06cc\u0634 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0648\u0631\u062f\u067e\u0631\u0633: <strong>(\u0627\u0639\u062f\u0627\u062f \u0628\u0647 \u062b\u0627\u0646\u06cc\u0647 \u0647\u0633\u062a\u0646)<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code ltr\"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\nMINUTE_IN_SECONDS\t= 60\nHOUR_IN_SECONDS\t\t= 60 * MINUTE_IN_SECONDS\nDAY_IN_SECONDS\t\t= 24 * HOUR_IN_SECONDS\nWEEK_IN_SECONDS\t\t= 7 * DAY_IN_SECONDS\nMONTH_IN_SECONDS\t= 30 * DAY_IN_SECONDS\nYEAR_IN_SECONDS\t\t= 365 * DAY_IN_SECONDS\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u0627\u06cc\u0646\u0647\u0627 \u062b\u0627\u0628\u062a\u200c\u0647\u0627\u06cc\u06cc \u0647\u0633\u062a\u0646 \u06a9\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u062a\u0639\u0631\u06cc\u0641\u0634\u0648\u0646 \u06a9\u0631\u062f\u0647 \u0648 \u0647\u0631 \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632\u0634\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0639\u062f\u062f \u0645\u0631\u0628\u0648\u0637\u0647 \u0631\u0648 \u0646\u0634\u0648\u0646 \u0645\u06cc\u062f\u0646.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0633\u0627\u062e\u062a-\u0628\u0627\u0632\u0647-\u0632\u0645\u0627\u0646\u06cc-\u062f\u0644\u062e\u0648\u0627\u0647\">\u0633\u0627\u062e\u062a \u0628\u0627\u0632\u0647 \u0632\u0645\u0627\u0646\u06cc \u062f\u0644\u062e\u0648\u0627\u0647<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0648 \u0627\u0645\u0627 \u0627\u0633\u0645 \u0641\u06cc\u0644\u062a\u0631\u06cc \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0646\u06cc\u0645 \u0628\u0627\u0632\u0647\u200c\u0647\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u0631\u0648 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u06cc\u0645\u060c cron_schedules \u0647\u0633\u062a. \u0648\u0631\u0648\u062f\u06cc\u200c \u06cc\u06a9 \u0622\u0631\u0627\u06cc\u0647 \u0627\u0632 \u062a\u0645\u0627\u0645 \u0628\u0627\u0632\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0647\u0633\u062a \u062e\u0648\u062f \u0648\u0631\u062f\u067e\u0631\u0633 \u06cc\u0627 \u0628\u0642\u06cc\u0647 \u067e\u0644\u0627\u06af\u06cc\u0646\u200c\u0647\u0627 \u0628\u0647\u0634 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646. \u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0634 \u0628\u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0647\u0633\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code ltr\"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\nadd_filter( &#039;cron_schedules&#039;, &#039;mj_custom_cron_intervals&#039; );\nfunction mj_custom_cron_intervals( $schedules ) {\n\t$schedules&#x5B;&#039;half&#039;] = array(\n\t\t&#039;interval&#039;\t=&gt; 30*MINUTE_IN_SECONDS,\n\t\t&#039;display&#039;\t=&gt; __( &#039;Half&#039;, &#039;mj&#039; )\n\t);\n\n\treturn $schedules;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u0627\u06cc\u0646\u062c\u0627 \u06cc\u0647 \u0628\u0627\u0632\u0647 \u0646\u06cc\u0645 \u0633\u0627\u0639\u062a\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0645. \u06cc\u0639\u0646\u06cc \u0645\u06cc\u062e\u0648\u0627\u0645 \u06a9\u062f\u06cc \u06a9\u0647 \u062c\u0644\u0648\u062a\u0631 \u0645\u06cc\u0646\u0648\u06cc\u0633\u0645 \u0647\u0631 \u0646\u06cc\u0645 \u0633\u0627\u0639\u062a \u0627\u062c\u0631\u0627 \u0628\u0634\u0647. \u062a\u0648\u06cc \u0622\u0631\u0627\u06cc\u0647\u060c \u0639\u0636\u0648 interval \u06a9\u0647 \u0628\u0631 \u0648\u0627\u062d\u062f \u062b\u0627\u0646\u06cc\u0647 \u0647\u0633\u062a\u060c \u0645\u062f\u062a \u0628\u0627\u0632\u0647 \u0632\u0645\u0627\u0646\u06cc \u0631\u0648 \u0645\u0634\u062e\u0635 \u0645\u06cc\u06a9\u0646\u0647. \u0639\u0636\u0648 display \u0647\u0645 \u0627\u0633\u0645\u06cc \u06a9\u0647 \u062a\u0648\u06cc \u067e\u0644\u0627\u06af\u06cc\u0646 \u0647\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u0647\u0633\u062a\u0646 \u0631\u0648 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u062f\u0647. \u0627\u0645\u0627 \u0627\u0633\u0645\u06cc \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633 \u0627\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u0647 \u0627\u0633\u0645 \u062e\u0648\u062f \u0622\u0631\u0627\u06cc\u0647 \u0647\u0633\u062a.(\u062e\u0637 \u06f4)<\/p>\n\n\n\n<p class=\"has-white-color has-vivid-red-background-color has-text-color has-background wp-block-paragraph\">\u0647\u0645\u06cc\u0634\u0647 \u06cc\u0627\u062f\u062a\u0648\u0646 \u0628\u0627\u0634\u0647 \u062a\u0648\u06cc \u0641\u06cc\u0644\u062a\u0631 \u0647\u0627 \u0622\u0631\u06af\u0648\u0645\u0627\u0646 \u0627\u0648\u0644 \u0631\u0648 \u0628\u0627\u06cc\u062f \u0628\u0627\u0632\u06af\u0634\u062a \u0628\u062f\u06cc\u062f \u0648\u06af\u0631\u0646\u0647 \u0645\u0645\u06a9\u0646\u0647 \u062e\u06cc\u0644\u06cc \u0686\u06cc\u0632\u0627 \u0628\u0647 \u0647\u0645 \u0628\u0631\u06cc\u0632\u0647.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0633\u0627\u062e\u062a-\u062a\u0627\u0628\u0639-\u06a9\u0631\u0648\u0646-\u062c\u0627\u0628\">\u0633\u0627\u062e\u062a \u062a\u0627\u0628\u0639 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u06a9\u0631\u0648\u0646 \u062e\u0648\u062f\u0645\u0648\u0646 \u0631\u0648 \u0628\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u0639\u0631\u0641\u06cc \u06a9\u0646\u06cc\u0645. \u0633\u06cc\u0633\u062a\u0645 \u062e\u0648\u062f \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u06cc\u062a\u0648\u0646\u0647 \u0627\u06cc\u0646 \u06a9\u0631\u0648\u0646 \u0647\u0627 \u0631\u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u0647 \u0648 \u0633\u0631 \u0645\u0648\u0642\u0639 \u062e\u0648\u062f\u0634\u0648\u0646 \u0627\u062c\u0631\u0627\u0634\u0648\u0646 \u06a9\u0646\u0647:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code ltr\"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\nadd_action( &#039;init&#039;, &#039;mj_register_users_count_event&#039; );\n\/**\n * this method will register the cron event\n *\/\nfunction mj_register_users_count_event() {\n\t\/\/ make sure this event is not scheduled\n\tif( !wp_next_scheduled( &#039;mj_users_count_hook&#039; ) ) {\n\t\t\/\/ schedule an event\n\t\twp_schedule_event( time(), &#039;half&#039;, &#039;mj_users_count_hook&#039; );\n\t}\n}\n\n\/**\n * mj_register_users_count method will be call when the cron is executed\n *\/\nadd_action( &#039;mj_users_count_hook&#039;, &#039;mj_users_count&#039; );\n \n\/**\n * this method will call when cron executes\n *\/\nfunction mj_users_count() {\n\twp_mail( get_user_by( 1 )-&gt;user_email, &#039;Tutorial: Cron job from mjkhajeh.ir&#039;, count_users()&#x5B;&#039;total_users&#039;] );\n}\n<\/pre><\/div>\n\n\n<p class=\"has-pale-cyan-blue-background-color has-background wp-block-paragraph\">\u06a9\u062f\u06cc \u06a9\u0647 \u0646\u0648\u0634\u062a\u0645 \u0628\u0631\u0627\u06cc \u0622\u0645\u0648\u0632\u0634 \u0647\u0633\u062a \u0648 \u0641\u0642\u0637 \u062a\u0639\u062f\u0627\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0631\u0648 \u0645\u06cc\u06af\u06cc\u0631\u0647 \u0648 \u0627\u06cc\u0645\u06cc\u0644 \u0645\u06cc\u06a9\u0646\u0647<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0645\u062b\u0644 \u0647\u0631 \u0639\u0645\u0644 \u062f\u06cc\u06af\u0647 \u0627\u06cc \u062a\u0648\u06cc \u0648\u0631\u062f\u067e\u0631\u0633\u060c \u0627\u0648\u0644 \u0628\u0627\u06cc\u062f \u06a9\u0627\u0631\u0645\u0648\u0646 \u0631\u0648 \u0631\u06cc\u062c\u0633\u062a\u0631 \u06a9\u0646\u06cc\u0645 \u0648 \u0628\u0647 \u0648\u0631\u062f\u067e\u0631\u0633 \u0645\u0639\u0631\u0641\u06cc \u06a9\u0646\u06cc\u0645. \u06a9\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0648 \u0628\u0627 \u062a\u0627\u0628\u0639 mj_register_users_count_event \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u062f\u06cc\u0645. \u062a\u0648\u06cc \u062e\u0637 \u06f1\u06f0 \u0627\u06cc\u0648\u0646\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u0631\u0648 \u0645\u0639\u0631\u0641\u06cc \u0645\u06cc\u06a9\u0646\u06cc\u0645(\u062a\u0627\u0628\u0639 <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_schedule_event\/\" target=\"_blank\" rel=\"noreferrer noopener\">wp_schedule_event<\/a>) \u0622\u0631\u06af\u0648\u0645\u0627\u0646\u200c\u0647\u0627 \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628:<\/p>\n\n\n\n<ul class=\"has-light-green-cyan-background-color has-background wp-block-list\">\n<li>$timestamp: \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u06cc\u0645 \u06a9\u0631\u0648\u0646 \u0634\u0631\u0648\u0639 \u0628\u0634\u0647.<\/li>\n\n\n\n<li>$recurrence: \u062f\u0648\u0631\u0647 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0647\u0631 \u0628\u0627\u0631 \u0642\u0631\u0627\u0631\u0647 \u06a9\u062f\u0647\u0627\u0645\u0648\u0646 \u0627\u062c\u0631\u0627 \u0628\u0634\u0646.<\/li>\n\n\n\n<li>$hook: \u0627\u0633\u0645 \u0647\u0648\u06a9\u06cc \u0647\u0633\u062a \u06a9\u0647 \u0628\u0647 \u062a\u0627\u0628\u0639 \u06a9\u062f\u0647\u0627\u06cc \u062e\u0648\u062f\u0645\u0648\u0646 \u0648\u0635\u0644 \u0645\u06cc\u0634\u0647.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u062f\u0631 \u062d\u0642\u06cc\u0642\u062a \u062e\u0637 \u06f1\u06f0 \u0627\u0631\u062a\u0628\u0627\u0637 \u062f\u0647\u0646\u062f\u0647 \u062a\u0645\u0627\u0645 \u0686\u06cc\u0632\u0647\u0627 \u0647\u0633\u062a.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u062e\u0637 \u06f1\u06f7 \u0647\u0645 \u0627\u0632 \u0647\u0648\u06a9 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u062a\u0627\u0628\u0639\u0645\u0648\u0646 \u0631\u0648 \u0635\u062f\u0627 \u0628\u0632\u0646\u06cc\u0645 \u0648 \u06a9\u062f\u0647\u0627\u0645\u0648\u0646 \u0631\u0648 \u0627\u062c\u0631\u0627 \u06a9\u0646\u0647. \u062a\u0627\u0628\u0639\u0645\u0648\u0646 \u0647\u0645 \u06a9\u0647 \u062a\u0648\u06cc \u062e\u0637 \u06f2\u06f2 \u0628\u0627 \u0646\u0627\u0645 mj_users_count \u0647\u0633\u062a.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628\u200c\u0647\u0627 \u067e\u0644\u0627\u06af\u06cc\u0646 \u0647\u0627\u06cc \u0632\u06cc\u0631 \u0647\u0633\u062a \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/plugins\/wp-crontrol\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Crontrol<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/advanced-cron-manager\/\" target=\"_blank\" rel=\"noreferrer noopener\">Advanced Cron Manager \u2013 debug &amp; control<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u0645\u0646\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.wordpress.org\/plugins\/cron\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u062f\u0627\u06a9\u06cc\u0648\u0645\u0646\u062a Cron \u0627\u0632 \u0633\u0627\u06cc\u062a \u0631\u0633\u0645\u06cc \u0648\u0631\u062f\u067e\u0631\u0633<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/scripthere.com\/how-to-setup-cron-job-in-wordpress-without-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0645\u0646\u0628\u0639\u06cc \u06a9\u0647 \u062e\u0648\u062f\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u0645<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u0647\u0627 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0633\u062a\u0646 \u06a9\u0647 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u0634\u0646 \u062a\u0627 \u062f\u0631 \u0632\u0645\u0627\u0646 \u0647\u0627\u06cc \u062e\u0627\u0635 \u06cc\u0627 \u0628\u0627\u0632\u0647 \u0647\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u062e\u0627\u0635\u06cc \u06a9\u0627\u0631\u0647\u0627\u06cc \u0645\u0634\u062e\u0635\u06cc \u0631\u0648 \u0627\u0646\u062c\u0627\u0645 \u0628\u062f\u0646.<\/p>\n","protected":false},"author":1,"featured_media":495,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[6,18],"tags":[26,60,21,7,9,27,28,19],"class_list":["post-484","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn","category-wordpress","tag-cron-job","tag-cronjob","tag-wordpress","tag-7","tag-9","tag-27","tag-28","tag-19","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"builder_content":"","_links":{"self":[{"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/comments?post=484"}],"version-history":[{"count":4,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/posts\/484\/revisions"}],"predecessor-version":[{"id":1076,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/posts\/484\/revisions\/1076"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/media\/495"}],"wp:attachment":[{"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjkhajeh.ir\/api\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}