Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Sorry but I can’t help with issues you’re having with cron event callbacks. It would be a full time support job ??

    Your code looks okay but I would bear in mind that your site needs to receive a lot of uncached traffic for a job to successfully trigger every two minutes. You might want to do this as a proper cron job on your web hosting instead.

    Thread Starter ldagency

    (@agencepluriel)

    Hi,

    Thank you for answer so fast.
    I understand for the full time job ??

    I think i’ve resolved my problem. The good syntax for my function is :
    function wpai_cron_proc_function() {
    wp_remote_get( ‘https://www.xxxxxxxx.fr/wp-load.php?import_key=xxxxxxxx&import_id=3&action=processing’ );
    }

    wp_remote_get seems to works well.

    I will verify it tomorrow ??

    thanks again

    I have four contact forms in my website that comes from contact form 7 plugin i have to set up cron for them .For example all the emails of four forms will be sent after 24 hours is this done with your plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘create a cron job’ is closed to new replies.