Site icon CodeRevolution Knowledge Base

I set the plugin to import content each hour, but it runs only a few times a day

Our plugins are using wp_cron for automatic running (this is the only available option in WordPress for scheduling events).

The drawback of this method is that it requires visitors for it to be triggered. So, if your blog has only 2 visitors a day, the plugin will run 2 times a day.

A method to prevent this, is to set an external cron job to your blog and call it automatically, each hour. An free external service that can do this is this: https://cron-job.org/en/

You can register here, and set it to automatically call your website (your main blog page is ok), each hour, like this, it will mimic visitors and the wp_cron will be executed hourly.

Exit mobile version