• Resolved jetxpert

    (@jetxpert)


    Cron listed below is running every 15 minutes (click here), slowing down our website, and consuming server resources. It is also being flagged by WP’s Health Check and impacting our score.

    tribe_aggregator_process_insert_records

    We have tried to delete the cron using WP Control and other tools but, as expected, it keeps coming back.

    Please provide a snippet (php code) and/or instructions on how to disable it.

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter jetxpert

    (@jetxpert)

    Update:

    Snippet below seems to have worked for us, but we’re still monitoring its impact. So far, no issues.

    add_action("init", "remove_cron_job"); 
    function remove_cron_job() {
     wp_clear_scheduled_hook("tribe_aggregator_process_insert_records"); 
    }

    We would still appreciate an answer from the plugin developer(s).

    Thank you.

    Thank you for your report.

    Usually this cron is used to process EA imports, (EA is the service used to pull events from external sources such as Google Calendar and such) if you are not an active or a user of EA you should be good to remove this cron work, on the other hand if you are expecting to have schedule events coming in from EA source you might need to change your type of import from Cron to Async, on the Import settings tag of TEC plugin.

    I’m going to take a look at this into our internal bug track system in order for us to run a bit more of investigation around this cron as only should be executed if you have active EA license running to process schedule events.

    Please let us know in case you have additional questions and thanks for reaching out.

    Thread Starter jetxpert

    (@jetxpert)

    @mitogh,

    Thank you. Very helpful. Have a great week.

    Plugin Contributor Victor Zarranz

    (@vicskf)

    Hi @jetxpert

    We have been able to reproduce this on our end. Apparently, the tribe_aggregator_process_insert_records cron job is indeed scheduled even if you are not using the EA service.

    I have created a bug report for this to be address in an upcoming release. We’ll notify you here once the fix is out so you can try it out.

    Thanks again for reporting this and sharing the snippet as a workaround.

    Best,
    Victor

    Internal Ticket Ref: YTRIA-234

    Thread Starter jetxpert

    (@jetxpert)

    @vicskf,

    Thank you so much! Please consider checking all other crons that could be running under similar conditions.

    Looking forward to the plugin update.

    Cheers!

    Thread Starter jetxpert

    (@jetxpert)

    @vicskf, @mitogh,

    Any updates? To date, this has not been fixed.

    Thank you!

    Plugin Contributor Victor Zarranz

    (@vicskf)

    Hi @jetxpert,

    I have brought this up to the team and it will be reviewed by one of our devs soon so it can be included in our bug triage process.

    Sorry I don’t have any other update at the moment, but we’ll definitely let you know once a fix is included in a release.

    Thread Starter jetxpert

    (@jetxpert)

    Hi @vicskf,

    Thank you for the update. Much appreciated.

    By the way, above snippet not helping much. The Tribe Aggregator Cron no longer shows up when we run WP’s Site Health check, but is still present/running in the back-end (detected by WP Crontrol).

    Again, thank you.

    Plugin Support Jaime

    (@jaimemarchwinski)

    Hi,

    We just wanted to let you know that a fix has been released for this issue!

    Please try updating and let us know if you are experiencing any further issues. As always, we recommend running updates on your staging site before doing so on your live site, just to be on the safe side.

    Thanks again for your patience while we worked on getting this fixed!

    Thread Starter jetxpert

    (@jetxpert)

    Hi @jaimemarchwinski (et al),

    Thank you so much. Job well done. Yes, it’s fixed.

    And thanks for the credits!

    Cheers!

    Plugin Contributor Victor Zarranz

    (@vicskf)

    Thank you too for confirming the fix.

    Cheers!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Slows Down Website (tribe_aggregator_process_insert_records)’ is closed to new replies.