Results 1 to 7 of 7

Thread: Chron not working correctly

  1. #1
    windwriters is offline Hello World
    Join Date
    Feb 2010
    Posts
    4

    Icon4 Chron not working correctly

    Hi

    I am running a WordPress Blog version 2.9.1

    I installed the WordPress Plugin Thank Me Later and I am getting an error message:

    WP-Cron doesn't seem to be working. Thank Me Later is emulating the behaviour of WP-Cron, which may slightly slow down some page loads. You may wish to seek a solution to this problem, although the impact is usually negligible.

    So following the error message instructions, I am seeking a solution to this problem. My automatic backups are also not running on this blog.

    I have deactivated all of my other plugins except for Thank Me Later and I am still receiving the same error message.

    I had the same problem with the WordPress 2.9 version on another blog, but I applied the Semiologic fix and that fixed the problem on that blog.

    Does anybody know what I am doing wrong and how to maybe fix these problems?

    Thanks so much!

  2. #2
    Rarst's Avatar
    Rarst is offline Big Tipper
    Join Date
    Jul 2009
    Posts
    322

    Default

    WP-cron was broken in 2.9 but should work in 2.9.1 and later (btw there is already 2.9.2)

    Try switching plugins in question off and on, re-saving their settings.
    Rarst.net - cynical thoughts on software and web (and sometimes WP) | @Rarst | I seem to be non-GPL-compliant person. Beware my poisonous thoughts.

  3. #3
    windwriters is offline Hello World
    Join Date
    Feb 2010
    Posts
    4

    Default

    Thank you Rarst. I fixed the problem with my chron on the 2.9 version, I am looking for a fix with my chron on the 2.9.1 version. I also turned off all my plugins and turned them back on... Still no success. Anyone else care to take a guess at this?

  4. #4
    Rarst's Avatar
    Rarst is offline Big Tipper
    Join Date
    Jul 2009
    Posts
    322

    Default

    Upgrade to 2.9.2 (good idea anyway), maybe update from 2.9 didn't go well.

    Try dumping _get_cron_array() and see if default and plugin's events are there.
    Rarst.net - cynical thoughts on software and web (and sometimes WP) | @Rarst | I seem to be non-GPL-compliant person. Beware my poisonous thoughts.

  5. #5
    windwriters is offline Hello World
    Join Date
    Feb 2010
    Posts
    4

    Default

    I am kinda new around these parts. What is the procedure for dumping _get_cron_array() and how can I see if default and plugins events are there?

  6. #6
    Rarst's Avatar
    Rarst is offline Big Tipper
    Join Date
    Jul 2009
    Posts
    322

    Default

    Add something like this in your theme footer, I added check for admin so it will only show to you logged in and not bother visitors.

    PHP Code:
    if (current_user_can('administrator'))
            echo 
    '<pre>'.print_r(_get_cron_array(),true).'</pre>'
    It should show array of all scheduled entries.
    Rarst.net - cynical thoughts on software and web (and sometimes WP) | @Rarst | I seem to be non-GPL-compliant person. Beware my poisonous thoughts.

  7. #7
    Otto's Avatar
    Otto is offline On The Rocks
    Join Date
    Apr 2009
    Location
    Memphis, TN
    Posts
    862

    Default

    I use a plugin for messing with the cron system:
    http://wordpress.org/extend/plugins/wp-crontrol/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •