• Resolved sharecomputacion

    (@sharecomputacion)


    I’m using CTX FEED for Google and Facebook feeds, but it’s not syncing automatically. The only way to make it work is by manually clicking “Regenerate” and then clicking “Purge All” in LiteSpeed Cache.Tests I Performed

    1. I checked the cron job manager, but I didn’t see any task related to CTX FEED (or I couldn’t find it).
    2. With the help of ChatGPT, I generated a function for functions.php to add a cron job in WordPress <?phpif (!wp_next_scheduled('ctx_feed_cron_hook')) { wp_schedule_event(time(), 'hourly', 'ctx_feed_cron_hook'); } However, this still doesn’t work automatically. Even though the cron job runs correctly, nothing happens, and the date doesn’t update.
    3. The ONLY way to make it work is by manually clicking “Regenerate” and then clicking “Purge All” in LiteSpeed Cache.

    What can I do?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    you can try hook purge API into your cron

    do_action( 'litespeed_purge_all' );

    to purge cache after cron is executed, see how it goes

    Thread Starter sharecomputacion

    (@sharecomputacion)

    Good morning. This isn’t working because even if I purge the cache, the feed doesn’t update unless I manually click “Regenerate Feed.”

    Am I missing something to make the feed regenerate automatically?

    Plugin Support qtwrk

    (@qtwrk)

    that should ask the feed plugin if they have any way to automate it , then you can hook our purge API alone the way

    Thread Starter sharecomputacion

    (@sharecomputacion)

    Estimados. el problema esta siendo que el plugin CTX FEED no me actualiza automaticamente. aunque borre el cache, no funciona de forma automatica. solo funciona cuando en CTX FEED presiono en “Regenerate”.

    Plugin Support qtwrk

    (@qtwrk)

    Eso debería preguntarle al complemento de feed si tienen alguna forma de automatizarlo, luego puede conectar nuestra API de purga sola de la manera

    Thread Starter sharecomputacion

    (@sharecomputacion)

    Good morning. As I mentioned, your plugin only works when I press “Regenerate,” but it doesn’t run automatically, even though it’s set to refresh every 6 hours. This seems to be an issue directly related to the CTX FEED plugin.

    Additionally, I checked WP-CRON and didn’t find any entry that appears to belong to your plugin or is named CTX FEED.

    What should your cron job be called?


    Plugin Support qtwrk

    (@qtwrk)

    I think this should be a question to CTX Feed …

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.