• Resolved remij89

    (@remij89)


    Love your plugin, it fulfills all my product feed needs! But I need to be able to use our Server Cron instead of default WP Cron. I’m very sure it was working perfectly just a couple of weeks ago or so with my Server Cron, but now processing is stuck at 50%.

    Changed to WP Cron to test and the feeds finished processing just fine, but all my other scheduled actions got stuck and performance-wise it’s worse with WP Cron. So I turned back to Server Cron, and all my scheduled actions finished perfectly, however we are back at all feeds stuck at “Processing 50%”.

    I know you suggest us to use WP Cron, but is there any other way we can be able to use Server Cron?

    Really hope I can continue to use this plugin.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Sorry to hear your feed is stuck processing.

    At what interval is your external server cron executing the cron events? If, for example, the server cron runs every 30 minutes than our plugin will sit idle for 30 minutes waiting for it be able to process the next batch of products. That might appear like the plugin is stuck processing.

    Thread Starter remij89

    (@remij89)

    Thank you for taking a look into this.

    I have 2 cron runs (I anonymized with x in path).

    flock -n ~/.wp_cron_as.lock wp action-scheduler run --path=/x/x/x/public --quiet
    
    Running on this interval:
    4,9,14,19,24,29,34,39,44,49,54,59 * * * *
    flock -n ~/.wp_cron.lock wp cron event run --due-now --path=/x/x/x/public --quiet
    
    Running on this interval:
    0,5,10,15,20,25,30,35,40,45,50,55 * * * *

    Looking at the interval the plugin should not appear to be stuck for more than 4 to 5 minutes and than move on to the next batch of products.

    Can you also make sure to put the refresh interval of the configured feed on an hourly refresh?

    Thread Starter remij89

    (@remij89)

    I tried it and waited 1 hour plus, that’s why my reply was delayed, but it’s still on processing. I restarted the feed update from scratch before waiting 1 hour plus.

    Is your feed on an hourly refresh?

    Thread Starter remij89

    (@remij89)

    Yes, I have 7 feeds in total, 1 of them I changed to hourly, the others are mix of daily and twicedaily.

    When:

    1. The WP-cron is disabled
    2. Your feed is on a (twice)daily refresh interval and the plugin needs multiple batches to fully process your feed than it will take 1 to 2 days to complete the feed

    So please make sure all of your feeds are on a hourly refresh interval.

    What you could “try”, but this depends on the number of products (including variations) you have in WooCommerce, is to increase the batch size of the plugin so it doesn’t need 2 batches to complete but just one. The default batch size is 750 products per batch, try increasing it to a 1000 products (in the general plugin settings).

    Assuming the issue at hand has been resolved and/or our support is no longer required we will close this topic for housekeeping reasons now.

    Do not hesitate to contact us whenever you need our help again.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Server Cron’ is closed to new replies.