Project

General

Profile

Actions

Bug #7825

closed

WP Cron fails to spawn on production

Added by Raymond Hoh over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority name:
High
Assignee:
-
Category name:
WordPress (misc)
Target version:
Start date:
2017-03-22
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

I was checking to see if a scheduled task that I added to WP cron was there or not and it appears that WP cron doesn't appear to be working.

I used the following wp-cli command to see if WP cron was functioning correctly:
wp cron test

And that throws back the following error:

Error: WP-Cron spawn failed with error: cURL error 28: Operation timed out after 3001 milliseconds with 0 out
of -1 bytes received

I then checked the cron schedule with:

wp cron event list

And there are a bunch of older cron events dating as far back as March 7th that haven't run. This might be the cause of other issues such as #7346. Also, I'm guessing that no one has received a daily digest since March 7th.

I did some brief research to see what might be causing the problem and a Github user notes that commons.gc.cuny.edu might not be in the HOSTS file during the cURL lookup:
https://github.com/Automattic/vip-quickstart/issues/421#issuecomment-91355870

We'd have to confirm with Lihua if that is the case or not.

I also just tested WP cron on the development server and it appears to be working there though.


Related issues

Related to CUNY Academic Commons - Bug #7376: automatic forwarding of blog posts not workingRejectedBoone Gorges2017-01-10

Actions
Related to CUNY Academic Commons - Bug #7762: RBE post didn't go throughResolvedRaymond Hoh2017-03-20

Actions
Actions

Also available in: Atom PDF