{"id":624,"date":"2021-05-10T03:53:15","date_gmt":"2021-05-10T03:53:15","guid":{"rendered":"http:\/\/plugins.vjinfotech.com\/wordpress-import-export\/?post_type=ht_kb&#038;p=624"},"modified":"2024-11-15T06:36:38","modified_gmt":"2024-11-15T06:36:38","slug":"web-host-external-cron-processing","status":"publish","type":"ht_kb","link":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/documentation\/web-host-external-cron-processing\/","title":{"rendered":"Web Host \/ External Cron &#038; Processing"},"content":{"rendered":"\n<p>External Cron supports web host and other cron.<\/p>\n\n\n\n<p>it&#8217;s based on URL. <\/p>\n\n\n\n<p>Go to <strong><strong>YOUR-WEBSITE => WP Import Export => Settings => Background &amp; Cron Processing => Use Web Host \/ External Cron &amp; Processing<\/strong><\/strong><\/p>\n\n\n\n<p>Copy URL and use for setup.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=[TOKEN]<\/p><\/blockquote>\n\n\n\n<p>Single time setup can work for all import and export. if amount of data are large then use 2 &#8211; 3 min interval<\/p>\n\n\n\n<p><strong>Limits<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Setup Manually on Host \/ Other Cron<\/li><\/ol>\n\n\n\n<p><strong>Benefits<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>High Speed<\/li><li>Accurate<\/li><li>Not affect user experience on site<\/li><\/ol>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setup-cron\" >Setup Cron<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-setup-import-or-export-schedule\" ><strong>Step 1 : Setup Import OR Export schedule<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"637\" src=\"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-1024x637.png\" alt=\"\" class=\"wp-image-627\" srcset=\"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-1024x637.png 1024w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-300x187.png 300w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-768x478.png 768w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-50x31.png 50w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-920x572.png 920w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-600x373.png 600w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron-320x199.png 320w, https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-content\/uploads\/2021\/05\/Export-Cron.png 1384w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-get-cron-url\" ><strong>Step 2 : Get Cron URL<\/strong><\/h4>\n\n\n\n<p>Copy cron URL from <strong>YOUR-WEBSITE => WP Import Export => Settings => Background &amp; Cron Processing => Use Web Host \/ External Cron &amp; Processing<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=[TOKEN]<\/p><\/blockquote>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-setting-up-cron-jobs-setup-only-one-time\" ><strong>Step 3 : Setting&nbsp;Up Cron Jobs<\/strong> ( Setup only one time )<\/h4>\n\n\n\n<p>Only single one time setup needed. all other scheduled processes sequential automatically by this URL.<\/p>\n\n\n\n<p><strong>Don&#8217;t setup multiple time<\/strong><\/p>\n\n\n\n<p>The instructions for setting up cron jobs vary across hosts. Commonly, you can do it in your web hosting control panel.<\/p>\n\n\n\n<p>The processing URL should be run every two minutes because it may not finish your import in one run. The reason is that many hosts have maximum script execution times in place, so its only possible for the processing script to finish only a small percentage of your import before it is timed out.<\/p>\n\n\n\n<p>If this is the case and the processing script is run again after two minutes, it checks to see if your import is finished, or if there\u2019s still work to be done. If there\u2019s work to be done, it will import posts for as long as it can, or two minutes, whichever is longer.<\/p>\n\n\n\n<p>Below are a few cron command examples (not all options work with all hosts, ask your host for help as needed):<\/p>\n\n\n\n<p><strong>Method 1<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget --spider \"http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=&#91;TOKEN]\"<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Method 2<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl \"\"http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=&#91;TOKEN]\"\n<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Method 3<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lynx \"http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=&#91;TOKEN]\"\n<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Method 4<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -q -O - \"http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=&#91;TOKEN]\"<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Sample Email template For host<\/strong><\/p>\n\n\n\n<p>To ask your web hosting provider to set up the cron for you, use this e-mail template:<\/p>\n\n\n\n<p><em>Hi Support,<\/em><\/p>\n\n\n\n<p><em>Please set up cron job.<\/em><\/p>\n\n\n\n<p><em>CRON JOB <\/em><br><em>Fetch this URL every 2 minutes: http:\/\/YOUR-WEBSITE.com\/wp-load.php?wpie_cron_token=[TOKEN]<\/em><\/p>\n\n\n\n<p><em>Thanks,<\/em><br><em>Your Name<\/em><\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht_kb_category":[22],"ht_kb_tag":[],"class_list":["post-624","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-background-cron-processing"],"_links":{"self":[{"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/ht_kb\/624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/comments?post=624"}],"version-history":[{"count":10,"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/ht_kb\/624\/revisions"}],"predecessor-version":[{"id":756,"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/ht_kb\/624\/revisions\/756"}],"wp:attachment":[{"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/media?parent=624"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/ht_kb_category?post=624"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/plugins.vjinfotech.com\/wordpress-import-export\/wp-json\/wp\/v2\/ht_kb_tag?post=624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}