Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Can you send me the exact name of the hook?

    I think finding the plugin which is adding it can be difficult.

    I found these too after installing your plugin. I have literally many dozen of these:

    hook – 1441044271
    schedule – single
    next execution – on next page refresh

    The next hooks go:
    1441044273
    1441044332
    1441044342

    –I don’t have any caching plugins installed.
    –I have tried clearing the cron options in the mysql table wp_options, to make wordpress rebuild the cron schedules

    These are the cron schedules that your plugin lists in the upper right:

    Cron Schedules
    wpo_daily – Once Daily
    wpo_weekly – Once Weekly
    wpo_otherweekly – Once Every Other Week
    wpo_monthly – Once Every Month
    hourly – Once Hourly
    twicedaily – Twice Daily
    daily – Once Daily

    wpo is WP Optimizer plugin. I don’t think this is what’s causing the cron jobs with unknown hook.

    The only other plugins I think might could be causing are AdRotate Pro, Related Posts by Taxonomy, Revision Control.

    I would really like to solve this problem, as I suspect the many cron jobs with the 8-digit hooks are clogging up wp-cron and I have scheduled posts that are missing schedule. One time I tried deleting all of the strange cron jobs using your plugin, and scheduled posts worked again.

    Any insight you could provide would be much appreciated.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Hmm… hook name is current timestamp. It’s very hard to tell what can couse this.

    The best solution I think will be downloading themes and plugins folder to your local and search in these files for:

    wp_schedule_event(time(

    or with space:

    wp_schedule_event( time(

    This will lead you to the source of the problem.

    Searching in files you can perform with unix grep command or via text editor like Sublime Text.

    Apparently the issue is with WordPress 4.3. I used Debug Objects plugin to get more info on the anonymous cron jobs.

    It revealed that all of the crons being spammed had an actual hook of ‘wp_batch_split_terms’

    https://core.trac.www.ads-software.com/ticket/33463

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks for sharing the information!

    Here’s the fix:

    Change line 4448 in taxonomy.php to:
    wp_schedule_single_event( time() + MINUTE_IN_SECONDS, ‘wp_batch_split_terms’ );

    Then follow instructions linked below to clean cron jobs:

    https://www.ads-software.com/support/topic/high-cpu-load-after-update-to-v43?replies=17#post-7330770

    Thread Starter grt107

    (@r97-design)

    thanks ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unknown Cron Job on every refresh’ is closed to new replies.