{"id":993,"date":"2019-04-23T05:14:37","date_gmt":"2019-04-23T05:14:37","guid":{"rendered":"https:\/\/servervds.com\/?p=993"},"modified":"2019-04-23T05:14:37","modified_gmt":"2019-04-23T05:14:37","slug":"cron-job","status":"publish","type":"post","link":"https:\/\/servervds.com\/mag\/cron-job\/","title":{"rendered":"\u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc Cron Job \u0686\u0647 \u062f\u0633\u062a\u0648\u0631\u06cc \u0644\u0627\u0632\u0645 \u0627\u0633\u062a\u061f"},"content":{"rendered":"\n<h2 id=\"h-\u0645\u06cc\u0632\u0628\u0627\u0646\u06cc-\u0648\u0628-\u0644\u06cc\u0646\u0648\u06a9\u0633\">\u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0648\u0628 \u0644\u06cc\u0646\u0648\u06a9\u0633<\/h2>\n\n\n\n<p>\u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u062a\u0646\u0647\u0627 \u0628\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0633\u0627\u0632\u06af\u0627\u0631 \u0647\u0633\u062a\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632 \u0646\u0645\u0627\u06cc\u0646\u062f\u06af\u06cc \u060c \u0633\u0631\u0648\u0631 \u0627\u0634\u062a\u0631\u0627\u06a9\u06cc \u060c <a href=\"https:\/\/servervds.com\/iran-vps-server\/#%D8%B3%D8%B1%D9%88%D8%B1-%D9%85%D8%AC%D8%A7%D8%B2%DB%8C-%D8%A7%DB%8C%D8%B1%D8%A7%D9%86-ssd\" target=\"_blank\" rel=\"noreferrer noopener\">\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc <\/a>\u0648 <a href=\"https:\/\/servervds.com\/iran-dedicated-server\/\">\u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc<\/a> \u0644\u06cc\u0646\u0648\u06a9\u0633.<\/p>\n\n\n\n<p class=\"has-very-dark-gray-color has-luminous-vivid-amber-background-color has-text-color has-background\">\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f: \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0648\u06cc\u0633\u062a\u0627 \u06cc\u0627 \u0628\u0633\u062a\u0647 \u0647\u0627\u06cc VPS \u0628\u0627 <a href=\"https:\/\/servervds.com\/how-to-create-redirect-in-plesk\/\">Plesk <\/a>\u06a9\u0627\u0631 \u0646\u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/p>\n\n\n\n<p>\u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0632\u06cc\u0631 \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc\u06cc \u0627\u0632 \u0645\u06a9\u0627\u0646 \u0647\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0645\u0639\u0645\u0648\u0644\u06cc \u0647\u0633\u062a\u0646\u062f. username \u062f\u0631 \u0647\u0631 \u0641\u0631\u0645\u0627\u0646 \u0628\u0627\u06cc\u062f \u0628\u0627 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc <a href=\"https:\/\/servervds.com\/licenses\/#%D9%84%D8%A7%DB%8C%D8%B3%D9%86%D8%B3-%DA%A9%D9%86%D8%AA%D8%B1%D9%84-%D9%BE%D9%86%D9%84\">cPanel <\/a>\u0648 Cron.php \u0628\u0627\u06cc\u062f \u0628\u0627 \u0646\u0627\u0645 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0634\u0645\u0627 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f.<\/p>\n\n\n\n<h2 id=\"h-php\"> PHP<\/h2>\n\n\n\n<p dir=\"ltr\"><strong>EasyApache 4<\/strong><\/p>\n\n\n\n<p>\u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 7.2<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/opt\/cpanel\/ea-php72\/root\/usr\/bin\/php<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><br><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 7.1<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/opt\/cpanel\/ea-php71\/root\/usr\/bin\/php<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong> <\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 7.0<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/opt\/cpanel\/ea-php70\/root\/usr\/bin\/php<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong> <\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.6<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/opt\/cpanel\/ea-php56\/root\/usr\/bin\/php<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong> <\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.5<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/opt\/cpanel\/ea-php55\/root\/usr\/bin\/php<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong> <\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.4<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/opt\/cpanel\/ea-php54\/root\/usr\/bin\/php<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong> <\/p>\n\n\n\n<p dir=\"ltr\"><strong>EasyApache 3<\/strong><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 7.0<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\">  \/opt\/php70\/bin\/php \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.6<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\">  \/opt\/php56\/bin\/php \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.5<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\">  \/opt\/php55\/bin\/php \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.4<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\">  \/opt\/php54\/bin\/php \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.3<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\">  \/opt\/php53\/bin\/php \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p> \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u06a9\u0631\u0648\u0646 \u062c\u0627\u0628 \u062f\u0631 php 5.2<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\">  \/opt\/php52\/bin\/php \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p>\u067e\u0631\u0686\u0645 \u0647\u0627\u06cc \u0627\u062e\u062a\u06cc\u0627\u0631\u06cc \u06af\u0627\u0647\u06cc \u0628\u0631\u0627\u06cc \u06cc\u06a9 PHP Cron Job \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0647\u0633\u062a\u0646\u062f:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> php -q \/home\/<strong>username<\/strong>\/public_html\/<strong>cron.php<\/strong><\/p>\n\n\n\n<p>\u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 php.ini \u062e\u0627\u0635:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> php -c \/home\/<strong>username<\/strong>\/public_html\/php.ini<br> \/home\/<strong>username<\/strong>\/public_html\/<strong>myscript.php<\/strong><\/p>\n\n\n\n<p>\u0641\u0631\u0645\u0627\u0646 \u06af\u0631\u0641\u062a\u0646 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u0628\u0635\u0648\u0631\u062a \u0631\u06cc\u0645\u0648\u062a:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/usr\/bin\/GET http:\/\/www.<strong>example.com\/file.php<\/strong><\/p>\n\n\n\n<h2 id=\"h-perl\">Perl<\/h2>\n\n\n\n<p>\u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u06cc\u06a9 CGI Cron Job:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> perl \/home\/<strong>username<\/strong>\/public_html\/cgi-bin<strong>\/file.pl<\/strong><\/p>\n\n\n\n<h2 id=\"h-ssh\">SSH<\/h2>\n\n\n\n<p>\u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc Cofe Script Cron Job:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> \/bin\/sh \/home\/<strong>username<\/strong>\/public_html\/<strong>file.sh<\/strong><\/p>\n\n\n\n<h2 id=\"h-mysql\">MySQL<\/h2>\n\n\n\n<p>\u0641\u0631\u0645\u0627\u0646 \u062f\u0631\u0648\u0646 \u0631\u06cc\u0632\u06cc <a href=\"https:\/\/servervds.com\/import-database-in-mysql\/\">\u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647<\/a>:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> mysql -u&nbsp;<strong>mysql_user<\/strong>&nbsp;-p<strong>passworddatabase_name<\/strong>&nbsp;&lt;&nbsp;<strong>backup.sql&nbsp;&gt;<\/strong><\/p>\n\n\n\n<p>\u0641\u0631\u0645\u0627\u0646 \u0628\u0631\u0648\u0646 \u0631\u06cc\u0632\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647:<\/p>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-very-dark-gray-background-color has-text-color has-background\" dir=\"ltr\"> mysqldump -u&nbsp;<strong>mysql_user<\/strong>&nbsp;-p<strong>passworddatabase_name<\/strong>&nbsp;&gt;&nbsp;<strong>backup.sql<\/strong><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0648\u0628 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u062a\u0646\u0647\u0627 \u0628\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627\u06cc \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0633\u0627\u0632\u06af\u0627\u0631 \u0647\u0633\u062a\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0647\u0627 \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0632 \u0646\u0645\u0627\u06cc\u0646\u062f\u06af\u06cc \u060c \u0633\u0631\u0648\u0631 \u0627\u0634\u062a\u0631\u0627\u06a9\u06cc \u060c \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0648 \u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633. \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f: \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0648\u06cc\u0633\u062a\u0627 \u06cc\u0627 \u0628\u0633\u062a\u0647 \u0647\u0627\u06cc VPS \u0628\u0627 Plesk \u06a9\u0627\u0631 \u0646\u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f. \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0632\u06cc\u0631 \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc\u06cc \u0627\u0632 \u0645\u06a9\u0627\u0646 \u0647\u0627\u06cc &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1451,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,4],"tags":[],"_links":{"self":[{"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/posts\/993"}],"collection":[{"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/comments?post=993"}],"version-history":[{"count":0,"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/posts\/993\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/media\/1451"}],"wp:attachment":[{"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/media?parent=993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/categories?post=993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/servervds.com\/mag\/wp-json\/wp\/v2\/tags?post=993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}