Support » Plugin: WP Crontrol » Any tips on using with WP All Import?

  • Resolved FreshySites


    I’m trying to set up the Cron Job feature of WP All Import. My host directed me to use WP All Import… but I’m not seeing an easy way to add the URLs for the Trigger Script and the Execution Script.

    I’d like to run a few imports on a nightly basis … each at a specific time of the night.

Viewing 12 replies - 16 through 27 (of 27 total)
  • To follow-up wrt to @lljb3

    Tried that code too

    function your_name_wp_all_import_exec() {
    wp_remote_get( ‘INSERT WP ALL IMPORT TRIGGER OR EXEC URL HERE’, array(‘timeout’ => 600) )

    as PHP Cron Job in WP Crontrol. But I am actually not sure where that code is supposed to go and how to change the names in the function (except for the WP All Import trigger and processing, that is clear).

    Tried it as a PHP Cron Job in WP Crontrol but did not work…



    Did you make sure to check your wp-config.php file to see if WP Cron is disabled? If there’s no line, just write the line in there. define('DISABLE_WP_CRON', 'false');

    All we had to do was grab the URLs that WP All Import show for the:

    • Trigger Script URL
    • Execution Script URL

    Then we took those URLs and added a PHP Cron Event from within WP Crontrol, for each of the following:

    • Set this one to Once Daily: wp_remote_get(“your trigger script URL here”);
    • Set this one to Every 2 Minutes (this was a custom schedule I made within Cron Schedules) wp_remote_get(“your execution script URL here”);

    If using WP Engine, you need to have them enable true cron (WP Engine alternate cron is a true cron)… which is disabled by default. The normal WordPress “wp-cron” isn’t ideal, as far as I can tell.

    • This reply was modified 3 years, 4 months ago by FreshySites.


    thx but I’ve tried that (at least I think I did the same)

    Could you maybe show me a screenshot of one event in WP Crontrol Maybe?

    @lljb3 don’t you mean that is has to read

    define(‘DISABLE_WP_CRON’, true);


    It’s like that now because I have a separate cron trigger to trigger WP Cron every minutes

    Thx! and

    Note, that I do believe this is a slightly older version of WP Crontrol (before you could actually give your PHP Crons a name)


    No, it needs to be false. It’s “Disable” WP Cron. You don’t want the disabling to be true.


    Actually, if trying to use a “real” cron, that should be set to true. You do want to disable that. But that’s assuming your host allows you to use a real cron.


    True, but from the responses here, I didn’t know if he was using WP Cron or not, as for that case, WP Crontrol isn’t going to help @ogessel and he needs to talk to his hosting provider.

    @ogessel, what is your hosting provider anyway, and do they allow SSH access and all that?

    Because if they don’t allow you to set cron jobs on your server, then you’ll have to switch to using WP Cron.

    Yeah indeed I use the real cron instead so it should be set to true.

    But @freshysites: that’s exactly what I’ve tried to do, of course with my own settings.

    But that did not work for some reason.


    my host is Kinsta

    but did you get it to work? And was that with the freshysites solution or with your code from 9 months, 1 week ago?

    Still don’t know where you would put that though…

    @ all: It actually is working now!

    I had to change my url in the expression of freshysites from

    which I used in the previous crons through cPanel into

    and now it is suddenly working just fine.

    Hope this will benefit somebody with the same problem.

    @lljb3 and especially @freshysites: thanks a lot for your help guys!

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Any tips on using with WP All Import?’ is closed to new replies.