PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 4.1.1
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v4.1.1
4.1.1 3.9.5 3.9.6 4.0.0 4.0.1 4.1.0 trunk 2.12 2.13 2.14 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.3-beta-1.0 3.7.4 3.7.4-beta-1.0 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4
wp-all-import / views / admin / manage / scheduling.php
wp-all-import / views / admin / manage Last commit date
bulk.php 1 month ago delete.php 1 month ago index.php 1 month ago scheduling.php 1 month ago update.php 1 month ago
scheduling.php
65 lines
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals ?>
2 <h2>
3 <?php esc_html_e('Cron Scheduling', 'wp-all-import') ?>
4 </h2>
5
6 <?php if ( in_array($item['type'], array('url', 'ftp', 'file'))):?>
7
8 <p>
9 <?php esc_html_e('To schedule an import, you must create two cron jobs in your web hosting control panel. One cron job will be used to run the Trigger script, the other to run the Execution script.', 'wp-all-import'); ?>
10 </p>
11
12 <p>
13 Trigger Script URL<br /><small>Run the trigger script when you want to update your import. Once per 24 hours is recommended.</small><br /><input style='width: 700px;' type='text' value='<?php echo esc_attr(home_url() . '/wp-cron.php?import_key=' . $cron_job_key . '&import_id=' . $id . '&action=trigger'); ?>' />
14 <br /><br />
15
16 Execution Script URL<br /><small>Run the execution script frequently. Once per two minutes is recommended.</small><br /><input style='width: 700px;' type='text' value='<?php echo esc_attr(home_url() . '/wp-cron.php?import_key=' . $cron_job_key . '&import_id=' . $id . '&action=processing'); ?>' /><br /><br />
17 </p>
18
19
20 <p><strong><?php esc_html_e('Trigger Script', 'wp-all-import'); ?></strong></p>
21
22 <p><?php esc_html_e('Every time you want to schedule the import, run the trigger script.', 'wp-all-import'); ?></p>
23
24 <p><?php esc_html_e('To schedule the import to run once every 24 hours, run the trigger script every 24 hours. Most hosts require you to use “wget” to access a URL. Ask your host for details.', 'wp-all-import'); ?></p>
25
26 <p><i><?php esc_html_e('Example:', 'wp-all-import'); ?></i></p>
27
28 <p>wget -q -O /dev/null "<?php echo esc_url(home_url() . '/wp-load.php?import_key=' . $cron_job_key . '&import_id=' . $id . '&action=trigger'); ?>"</p>
29
30 <p><strong><?php esc_html_e('Execution Script', 'wp-all-import'); ?></strong></p>
31
32 <p><?php esc_html_e('The Execution script actually executes the import, once it has been triggered with the Trigger script.', 'wp-all-import'); ?></p>
33
34 <p><?php esc_html_e('It processes in iteration (only importing a few records each time it runs) to optimize server load. It is recommended you run the execution script every 2 minutes.', 'wp-all-import'); ?></p>
35
36 <p><?php esc_html_e('It also operates this way in case of unexpected crashes by your web host. If it crashes before the import is finished, the next run of the cron job two minutes later will continue it where it left off, ensuring reliability.', 'wp-all-import'); ?></p>
37
38 <p><i><?php esc_html_e('Example:', 'wp-all-import'); ?></i></p>
39
40 <p>wget -q -O /dev/null "<?php echo esc_url(home_url() . '/wp-load.php?import_key=' . $cron_job_key . '&import_id=' . $id . '&action=processing'); ?>"</p>
41
42 <p><strong><?php esc_html_e('Notes', 'wp-all-import'); ?></strong></p>
43
44 <p>
45 <?php esc_html_e('Your web host may require you to use a command other than wget, although wget is most common. In this case, you must asking your web hosting provider for help.', 'wp-all-import'); ?>
46 </p>
47
48 <p>
49 See the <a href='http://www.wpallimport.com/documentation/recurring/cron/?utm_source=import-plugin-free&utm_medium=help&utm_campaign=manual-scheduling'>documentation</a> for more details.
50 </p>
51
52 <?php else: ?>
53
54 <p>
55 <?php esc_html_e('To schedule this import with a cron job, you must use the "Download from URL" option on the Import Settings screen of WP All Import.', 'wp-all-import'); ?>
56 </p>
57 <p>
58 <a href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)); ?>"><?php esc_html_e('Go to Import Settings now...', 'wp-all-import'); ?></a>
59 </p>
60
61 <?php endif; ?>
62
63 <div class="wpallimport-display-columns wpallimport-margin-top-forty">
64 <?php echo wp_kses_post( apply_filters('wpallimport_footer', '') ); ?>
65 </div>