• Hello

    So, I’ve moved cron jobs from the wordpress to the crontab (define(‘ALTERNATE_WP_CRON’, true);). Everything is working fine (almost), but sometimes php is reporting that wp-cron.php exceeded time limit (which is set to the 60s). I know, I know. I can set maximum execution time to a higher value and get rid of those error messages. This would “help” only by hiding the real problem, which is one or more jobs.

    The question is: is there an easy way to find which cron job takes much more time than it should? Is there a plugin that would show not only cron jobs but also execution time of each one and mark problematic ones? Or do I have to edit wp-cron.php by myself and insert some sort of logging into it?

  • The topic ‘wp-cron.php timeouts when run in command line’ is closed to new replies.