Opened 17 months ago

Last modified 13 months ago

#19621 new defect (bug)

Cron not working in WP 3.3

Reported by: hassanasad Owned by:
Priority: normal Milestone: Awaiting Review
Component: Cron Version: 3.3
Severity: major Keywords: reporter-feedback
Cc: knut@…, TKornik, ian_dunn@…

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 (9)

  • 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

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

The script works fine WP 3.2.1

Which script?

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.

  • 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.

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 17 months ago by Nick_theGeek (previous) (diff)

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.

Related/duplicate: #19818

  • Cc ian_dunn@… added

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?

Note: See TracTickets for help on using tickets.