• Resolved embroideryallsorts

    (@embroideryallsorts)


    I have had issues with woocommerce not ending the scheduled sale date, I know I can fix this with wp-control plugin but each time woocommerce updates the problem comes back. I also have wp-cron disbaled to reduce the demand on my server, can someone tell me how the cron job should be written to add it to the Linux server? I don’t want to add any more plugins to my site.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello embroideryallsorts,

    Thank you for contacting Woo support.

    I understand you are facing an issue where Woocommerce is not ending the scheduled sale date.
    To confirm, is the WP-Cron disabled while this issue is happening?
    If it is then that is the expected behavior because WP-Cron handles the scheduled actions.

    To better understand the situation, could you explain why you disabled the WP-Cron?
    Looking forward to your response. ??

    Best regards.

    Thread Starter embroideryallsorts

    (@embroideryallsorts)

    I thought I did explai, it is to improve the performannce of the site, as I have had massive issues in the past. Is this the best way to right the command to put into cron jobs in the cpanel

    wget -q -O – <https://www.example.com/wp-cron.php&gt; >/dev/null 2>&1

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @embroideryallsorts

    I understand your concerns about performance, and you’re right that disabling WP-Cron can help in certain situations. However, WooCommerce relies on WP-Cron for various tasks, including ending scheduled sales. So, when WP-Cron is disabled, these tasks may not execute as expected.

    To resolve this, you can set up a real cron job on your server. In your command, you’ll need to replace “https://www.example.com/wp-cron.php&#8221; with your actual website URL. The full command should look like this:

    wget -q -O - https://embroidery-allsorts.com/wp-cron.php >/dev/null 2>&1

    More info:

    Please note that setting up a real cron job can be a bit technical, so if you’re uncomfortable doing it yourself, you may want to contact a developer or your hosting provider for assistance.

    I hope this helps! Let us know if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.