Make WordPress Core

Opened 3 years ago

Closed 20 months ago

Last modified 20 months ago

#19621 closed defect (bug) (invalid)

Cron not working in WP 3.3

Reported by: hassanasad Owned by:
Milestone: Priority: normal
Severity: major Version: 3.3
Component: Cron API Keywords: reporter-feedback
Focuses: Cc:



I was working on wordpress cron and found that the cron doesn't synchronize the times even when the traffic is visiting site pages. The script works fine WP 3.2.1

Please check this. I believe wp-cron.php is not run in this latest release.

Change History (13)

comment:1 @knutsp3 years ago

  • Cc knut@… added

There is no doubt that wp-cron.php is called and runs it's tasks. I see this from my webserver log files, scheduled posts are published and I get notified about updates to plugins.

I think you should try the support forums, and attach your script.

Suggest worksforme

comment:2 @ocean903 years ago

  • Keywords reporter-feedback added
  • Severity changed from critical to normal

The script works fine WP 3.2.1

Which script?

comment:3 @curtismchale3 years ago

wp-cron is not firing for me on a multisite install but working just fine on the same server but on a single site. Scheduled posts are missed in the multisite environment and automated backups are not run while both work fine in the single environment.

comment:4 @TKornik3 years ago

  • Cc TKornik added
  • Severity changed from normal to major

It seems like the cron is firing but it fails to publish scheduled posts here. All of them get 'missed schedule' and remain scheduled past time.

comment:5 @Nick_theGeek3 years ago

I am experiencing this in WP 3.3 only in multisite as well.

I checked the scheduled cron jobs and it showed several "one time" jobs from when I installed WP 3.3 RC1 to present that have not been run or removed from the scheduled jobs.

I have verified that the server cron is running normally, and jobs are getting scheduled, they just aren't running in multisite.

I have a single site install on a subfolder of this site that is scheduling correctly.

I have been able to get the cron working by enabling the alternate cron

define('ALTERNATE_WP_CRON', true);

However, I do not have to do that on other WP installs with this server, or even within the same site, only for multisite.

Last edited 3 years ago by Nick_theGeek (previous) (diff)

comment:6 @cabraham3 years ago

I have been experiencing a similar issue. wp-cron.php@13725 works fine for me but wp-cron.php@18659 doesn't execute any of my scheduled tasks, like schedule posts, disqus comment sync etc. I am running a lighttpd web server. Funnily, wp-cron.php@18659 works fine on another Wordpress instance running on apache. Also, these are all single-site instances.

comment:7 @solarissmoke3 years ago

Related/duplicate: #19818

comment:8 @iandunn3 years ago

  • Cc ian_dunn@… added

comment:9 @ryan3 years ago

I haven't been able to reproduce this with single or multisite. Is a Memcached or APC object-cache.php being used? There are some cron changes in 3.4 beta, does using it help?

comment:10 @c3mdigital20 months ago

  • Keywords close added; reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

Closing as invalid. If anyone is able to reproduce in 3.6 please reopen.

comment:11 @SergeyBiryukov20 months ago

  • Keywords reporter-feedback added; close removed

comment:12 @SergeyBiryukov20 months ago

  • Milestone Awaiting Review deleted

comment:13 @johnbillion20 months ago

The WP Crontrol plugin can help pinpoint cron issues. It tests the WP-Cron spawner on your site and reports the error message if it fails.

Note: See TracTickets for help on using tickets.