• Hi,

    I have a basic csv file that works just fine with manual import. However, scheduled import doesn’t seem to do anything. The file path is correct (actually /tmp/test.csv) and I can see the acui_cron_process in WP Control with a correct schedule. The trigger time comes and goes, and nothing is done. The settings screen still shows “No tasks done yet.”, nothing is imported and the file still sits in the import location.

    I have verified my cron setup by installing a test plugin as described here:
    http://ben.lobaugh.net/blog/20787/wordpress-how-to-use-wp-cron#Test_the_plugin
    And cron works fine when I trigger it by browsing to wp-cron.php.

    I have run out of ideas. What should I do to debug further? How can I see what actually happens at the moment when the import should start?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @vjk

    Sorry but I don’t know which can be the problem. This seems to be a problem of cron in your system, plugin’s cron works correctly in many other.

    I can see it directly in your system but this won’t be part of the free support of this plugin.

    Send me mail if you want to carazo AT gmail DOT com.

    Thread Starter vjk

    (@vjk)

    Hi,

    The acui_cron_process actually starts and proceeds to acui_fileupload_process. In the beginning of that function,
    isset( $_POST[‘acui-nonce’] )
    returns false so
    wp_die( ‘Nonce problem’ );
    is called.

    Any ideas?

    Thread Starter vjk

    (@vjk)

    Hi,

    I can also verify that if I comment out this, the scheduled import works:

    if ( ! isset( $_POST[‘acui-nonce’] ) || ! wp_verify_nonce( $_POST[‘acui-nonce’], ‘acui-import’ ) ) {
    wp_die( ‘Nonce problem’ );
    }

    Plugin Author Javier Carazo

    (@carazo)

    I have prepared a new version with an extra conditional. This should not be a problem now.

    Please tell me if all is ok now with the new update.

    Thread Starter vjk

    (@vjk)

    Hi,

    Thanks, works perfectly now.

    • This reply was modified 9 years, 7 months ago by vjk.
    Plugin Author Javier Carazo

    (@carazo)

    Thanks to you! Please make a good review and a little donation please.

    We need some support in order to continue giving the best support.

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

The topic ‘Scheduled cron import doesn’t work’ is closed to new replies.