DEV Community

ryjfgjl
ryjfgjl

Posted on

1

Synchronize and refresh Excel data to the database in real time

Earlier, we talked about Scheduled Import of Excel into Database. We only need to make a slight modification to achieve real-time refresh.
Add a new scheduled task, and keep the default setting for timing, which means running in real time

Image description

You can see the task running in the scheduled task interface. When the Excel data is updated, click Save and you can immediately see the updated data in the database.

Image description

Because the refresh frequency is fast and needs to be continuously run, it consumes certain system resources. We can determine whether to execute the import by detecting whether the Excel file has been updated. If the file has not been updated, the execution can be skipped.

Image description

Introduction and Download of ExcelToDatabase

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs