• Hello,

    i’m running every minute a cron job (on local server and also tried with easycron) of http://xxxxxx/wp-cron.php?doing_wp_cron

    sometime is completed within miliseconds or 1,2 seconds, but there are also cases that it took more than a minute or even failed (after 5 minutes timeout).

    Can you please assist on how i could trace or test to identify the problem, or if you have any ideas on what should i try please let me know

    Thanks,
    Stelios

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    wp_cron is not a true cron job. It requires some sort of outside request in order to execute. Usually not a problem on publicly accessible sites. Running every minute is awfully frequent. It there are no requests for a good period of time, all those cron events queue up and all execute once a request does happen. That built up queue run together could end up timing out.

Viewing 1 replies (of 1 total)

The topic ‘execution time doing_wp_cron every minute sometime fails’ is closed to new replies.