WPeMatico checks every 5 minutes which campaigns must run, and the Minutes list of each campaign goes in steps of 5 minutes. We do not recommend shorter intervals, but if you really need them, you can change the check interval with a WordPress filter.
- Every run reads the feeds of the campaign and uses server resources. Running campaigns very often can slow down your site, especially on shared hosting.
- Very few feeds publish so many items that a campaign running every 5 minutes would miss some of them.
- The Max items to create on each fetch option of the campaign lets you create several posts in the same run, so you do not lose items between runs.
To set the schedule of a campaign, see How to use Cron Scheduling?
The interval is set in seconds with the wpematico_cron_schedule_interval filter. Add this code to the functions.php file of your child theme, or with a code snippets plugin, to check the campaigns every 2 minutes:
add_filter( 'wpematico_cron_schedule_interval', 'my_wpematico_cron_interval' );
function my_wpematico_cron_interval( $interval ) {
return 120; // In seconds.
}
To run a campaign that often, select Any (*) in its Minutes list.
Note: The schedules rely on WP-Cron, which only runs when someone visits your site. For exact timing, use an external cron job. See How to configure an external CRON from cPanel?