When faced with a similar issue, I found a solution using a combination of cron jobs and database management. By setting up cron jobs to automatically visit my website twice a day to activate the server (which may not be necessary for websites with consistent user activity), I was able to effectively manage data synchronization.
After setting up these automated visits, my application would check if the data stored in the database matched the current data on the target website. If there were discrepancies, the app would update the database with the latest information and display it on the website for users to see.
While this method worked well for less active websites, there are some drawbacks to consider:
1. Data updates are limited to twice a day.
2. Websites with high user traffic may prevent the server from going idle, potentially causing issues with scheduled cron job visits.
To set up your own cron jobs, you can use this link: