• Resolved crawlerm

    (@crawlerm)


    The chart shows tidal height read from a sensor and written to the tidal.csv file on the server every ten minutes. The update is irregular and does not happen when the page is refreshed. I’ve tried clearing the browser cache as well as testing on a fresh browser.

    How do I make the chart refresh regularly please?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Aleksandar Vuković

    (@aleksandartms)

    Hi there.

    Did you try activating the auto-update cache in wpDataTables General Settings and in the “Data Source” tab in Table settings?

    This is useful for linked tables that are frequently edited, as it appears to be in your case. You’d need to configure a cron job that runs frequently (every minute, for exapmple), in order to pull the data from the file on the server and automatically update the table when it runs (if there was a change between the two runs).

    Let us know if that helps!

    Thread Starter crawlerm

    (@crawlerm)

    Thanks, I’ll try that.

    Thread Starter crawlerm

    (@crawlerm)

    Sorry, could you give me an idea of what that cron job would look like?

    Plugin Support Milos Jovanovic

    (@milosjovanovicwpdt)

    Hello,

    Apologies for the waiting time.

    Certainly! We have a detailed, step-by-step guide in our documentation that explains how to set up a cron job for the Auto Update Cache feature:
    https://wpdatatables.com/documentation/table-features/caching-data-and-auto-update-cache-in-wordpress-tables/

    You can create the cron job directly on your hosting server, or — if you prefer an easier option — you can install the WP Crontrol plugin.
    Our guide includes a full tutorial showing how to use WP Crontrol, including the exact cron command you can copy and paste, as well as troubleshooting tips in case you encounter any issues.

    If you run into any problems while setting this up, please don’t hesitate to reach out to our main Support Team — just open a chat on our site.
    We presume you’re using our free version, so simply select the “Pre-Purchase” category, and it will route you to our main support team.

    Kind regards,
    Milos

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Chart Refresh irregular’ is closed to new replies.