Requirements
Please check the following recommended requirements:
- The core Property Hive plugin installed
- An active 'Import Only' or 'All Features' Pro subscription
- The Property Import add on enabled. (Read about activating features here.)
Automated tasks
The Property Import add on is designed in such a way that it runs automatically in the background so updates made to properties in your CRM are automatically reflected in WordPress and on your website with no manual interaction.
As a result, we need automated tasks in WordPress to be working.
How automated tasks work in WordPress
By default WordPress has it's own in-built automated tasks management service called WP-Cron.
The WordPress docs cover this in more but, in a nutshell, it relies on visitors to the site in order to trigger an automated task firing.
This means if you have an import due to run at 2pm, but nobody visits the site until 4pm, the import won't run until then.
This means even if you have an import set to run every 15 minutes, if the site isn't visited all day, it won't fire.
Changing to a Linux cron job
If you're looking for reliable execution of imports at exact times without needing to wait for a visitor to the site, setting up a Linux cron job is the best approach.
Although it require a level of technical expertise there are hundreds of guides about how to do this online:
https://easyengine.io/tutorials/wordpress/wp-cron-crontab/
https://kinsta.com/knowledgebase/wordpress-cron-job/#how-to-add-a-cron-job-using-cpanel
https://www.hostgator.com/help/article/how-to-replace-wordpress-cron-with-a-real-cron-job
Alternatively, any good hosting company should be able to set this up on your behalf.
Debugging automated tasks not running
By far the best way to debug issues with automated tasks not firing is to use a plugin called WP Crontrol.
With the WP Crontrol plugin installed and activated you can navigate to 'Tools > Cron Events' in WordPress where it will show you all the scheduled tasks, but more importantly, if there are any errors with these tasks firing or if they're overdue:
If the plugin reports issues then the solution is to either:
- Speak to your hosting company. The reason the automated tasks can't fire is down to the server/hosting.
- Change to use a Linux cron job.
CRM specific requirements
Depending on the format or CRM you're importing properties from, the requirements may differ. Any CRM specific requirements will be listed in the CRM specific guides.