Make WordPress Core

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#19621 closed defect (bug) (invalid)

Cron not working in WP 3.3

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

Description

Hi,

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)

#1 @knutsp
12 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

#2 @ocean90
12 years ago

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

The script works fine WP 3.2.1

Which script?

#3 @curtismchale
12 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.

#4 @TKornik
12 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.

#5 @Nick_theGeek
12 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 12 years ago by Nick_theGeek (previous) (diff)

#6 @cabraham
12 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.

#7 @solarissmoke
12 years ago

Related/duplicate: #19818

#8 @iandunn
12 years ago

  • Cc ian_dunn@… added

#9 @ryan
12 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?

#10 @c3mdigital
11 years 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.

#11 @SergeyBiryukov
11 years ago

  • Keywords reporter-feedback added; close removed

#12 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review deleted

#13 @johnbillion
11 years 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.