• First of all, I have 12 campaigns of 10 feeds each. They are configured to run at 10 minutes intervals each, so the server doesn’t get much rest (high CPU, memory consumption etc). Not all at once, of course, so every 10 minutes another set of 10 feeds runs. Each feed displays only one item btw.

    I want to ease the CPU a little, so I was trying to run /wp-admin/admin-post.php?action=wpematico_cron (in the browser) while having Disable WPeMatico schedulings checked. What I don’t understand is how this works. Will the cron URL above run all campaigns and feeds? This will probably increase the server load and crash due to PHP/Nginx memory or time limits.

    On the other hand, I don’t see too many posts created when running the cron URL above, so I’m thinking maybe it doesn’t run through all feeds, but only those that needed to run at that time?!

    So how does it work exactly, which campaigns are running at /wp-admin/admin-post.php?action=wpematico_cron? And does it matter whether or not the campaigns are deactivated, or should they be active?

    Additionally, having so many feeds, would it be better to have a campaign for each feed, and have them run at 6 minutes from each other? This way each can run 2 times per day. Again, my purpose is to lower the CPU/memory.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor manuelge

    (@khaztiel)

    Hi @wattaman

    Sorry for the delay.

    You can try setting up an external CRON, first you must enable the “Disable WPeMatico schedulings” option from WPeMatico>Settings. Then, you can use your hosting provider’s control panel to create cron jobs at the server level and use the URL provided by WPeMatico.

    This CRON will check the campaigns and run only the campaigns that are already on schedule (according to your configuration).

    Using an external CRON is more efficient, as you can save server resources by delegating the task to an external service.

    Regards,
    Manuel

Viewing 1 replies (of 1 total)
  • The topic ‘Cronjob questions’ is closed to new replies.