Title: Manual Scheduling doesn&#8217;t fire processing import
Last modified: June 13, 2020

---

# Manual Scheduling doesn’t fire processing import

 *  Resolved [Jean R.](https://wordpress.org/support/users/efbi/)
 * (@efbi)
 * [6 years ago](https://wordpress.org/support/topic/manuel-schedule-doesnt-work/)
 * Hello, I use your plugin to download a XML file from URL
    I setup my crontab 
   with trigger (every day) & processing each 2 minutes and even if the processing
   is running each 2 minutes (in log), the import doesn’t work..
 * When I see my cron running the processing script, in “Manager Import” I see last
   activity 4 minutes ago for example when the script just run..
    -  This topic was modified 6 years ago by [Jean R.](https://wordpress.org/support/users/efbi/).
    -  This topic was modified 6 years ago by [Jean R.](https://wordpress.org/support/users/efbi/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/manuel-schedule-doesnt-work/#post-13000927)
 * Hi [@efbi](https://wordpress.org/support/users/efbi/)
 * > When I see my cron running the processing script, in “Manager Import” I see
   > last activity 4 minutes ago for example when the script just run..
 * This likely means that the processing script is timing out (i.e. being terminated
   by your server) before it can complete an iteration. Please try these steps:
    - At _All Import -> Settings_ set the “Cron Processing Time Limit” to 59.
    - At _Manage Imports -> Import Settings_ set the import’s records per iteration
      to 1: [https://d.pr/i/Vakkd3](https://d.pr/i/Vakkd3).
    - Test the cron processing script in your browser (visit the URL) to see if 
      it completes correctly.
 * If it doesn’t complete correctly in your browser after these steps, ask your 
   web host to review the error logs on your server for any relevant log entries
   explaining the termination.
 * Let us know what you find.
 *  Thread Starter [Jean R.](https://wordpress.org/support/users/efbi/)
 * (@efbi)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/manuel-schedule-doesnt-work/#post-13002053)
 * Hello, yes sorry I finally find the problem.
    For people for try to trigger by
   cron :
 * Maybe the curl or wget with cron doesn’t work because you need send headers with
   it.
    Create a php file and make a curl with php Like this :
 *     ```
       <?php 
       $ch = curl_init();
       curl_setopt($ch, CURLOPT_URL, "https://YOUR_URL/wp-load.php?import_key=YOUR_KEY&import_id=1&action=processing");
       curl_setopt($ch, CURLOPT_RETURNTRANSFER, false);
       $output = curl_exec($ch);
       curl_close($ch);
       ```
   
 * Then configure your cron to launch this file ! Same for trigger action
 * I had to do it with php cause direct curl with cron doesn’t work for me.
    -  This reply was modified 5 years, 12 months ago by [Jean R.](https://wordpress.org/support/users/efbi/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Manual Scheduling doesn’t fire processing import’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jean R.](https://wordpress.org/support/users/efbi/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/manuel-schedule-doesnt-work/#post-13002053)
 * Status: resolved