Support » Fixing WordPress » wp_schedule_event not working correctly in WP 2.7.1 ?!

  • Hi,

    I was using wp_schedule_event in a custom plugin I created and it was working fine until I updated from 2.7 to 2.7.1 yesterday.

    Now when I use this (for example, have already tried many different things):

    wp_schedule_event(time(), 'daily', 'my_function' , $num );

    it schedules everything correctly BUT not once daily! … instead it will fire the event every few minutes!

    I already tried using different functions, time spans, etc.
    Is this a known bug of 2.7.1? Or is there something that has changed in 2.7.1 related to scheduling events (already looked through the changelog but didn’t see anything).

    Hope someone can help me with this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • No one who can help me?

    I’m interested in a response to this too. I was disappointed to find out, when I installed 2.6, that WordPress could not automatically schedule the publishing of posts in advance. I was hoping that 2.7 would offer this feature, but it appears from your comment that it does not and that you have been relying on a plugin you created yourself.

    Any info on auto scheduling posts for those of us who can’t always post from the field when we’re traveling in remote areas?

    David Miller


    I found this topic because a plugin I created called Auto-Schedule Posts stopped working after I upgraded to WP 2.9. Everything seems to work on the plugin except that the scheduled event that calls the function to publish scheduled posts does not seem to be firing. When I call the publish function it works but the scheduled event no longer does.

    As for your problem, my plugin could be what you are looking for – when I get it working again. Or, you can always change the timestamp when writing posts and the posts will automatically publish at the time you set. I’m not sure if that is what you are looking to do or if you want WordPress to manage the publishing time for you (like my plugin does).

    Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_schedule_event not working correctly in WP 2.7.1 ?!’ is closed to new replies.