wp-cron: freeze at “now”

Mmmh, some progress: I’m able to activate wp-cron by browser (not really clear, because I have a white screen…): anyway, if I browse wp-cron, jobs are correctly executed and rescheduled… Now I have to understand why crontab do not work…

How make a php script run only with wp-cron

WP_Cron isn’t a real cron scheduler. What it does is schedule events, mark when they should be run, and wait for page traffic. When the site is loaded, it checks to see if any of these tasks need to be run (i.e. the time they were scheduled for has passed) and runs them. So you … Read more

wp-cron.php – timeout

I had the same problem. My solution was to define the timeout constant for the cron job by adding this line in wp-config.php: define(‘WP_CRON_LOCK_TIMEOUT’, 60); I added this before the line require_once(ABSPATH . ‘wp-settings.php’); and it worked. By default this is set to 0.01 seconds, which to me it makes no sense. This line sets … Read more