• Resolved Andreas

    (@stylingagenten)


    Hi!
    WHen I have wpconfig enabled it drains a lot of CPU on my site. Me host did recommend that I replace it towards a Real Cron Job. Is it possible to set up en eternal cronjob so you plugin will work?

    BR
    Andreas

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • evavangelooven

    (@evavangelooven)

    Hi Andreas,

    Yes you can fire-up the WP-cron with a server cron-tab but it will have some, probably unwanted effects. Let me explain:

    The plugin is processing the product feed in batches (750 products per batch when you are running PHP 7 or higher). It does so in order not to run into memory issues. Batches are triggered using the WP-cron, once a batch is done it will automatically create a next job in the WP-cron which almost immediately kicks of the next batch of products.

    Now if you trigger the WP-cron, lets say every ten minutes, with your external crontab the job the batches will be idle for 10 minutes each before it can process the next batch of products. As a result it might take very long for your product feed to complete. This can be problematic when for example Google is retrieving your product feed at the time it is still being created. This will result in a lot less products in your merchant center.

    Hence, we would advise you to enable the WP-cron.

    Hope this makes sense?

    All the best,
    Eva

    Thread Starter Andreas

    (@stylingagenten)

    Ok, one more question. When I choose daily update for the feed, what time is it running an update? Can I see that somewhere?

    evavangelooven

    (@evavangelooven)

    Hi Andreas,

    Please find the intervals below:

    Daily:
    07:00 server-time

    Twicedaily:
    07:00 and 19:00 server-time

    All the best,
    Eva

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I create an external cron job’ is closed to new replies.