• Resolved fletsch

    (@fletsch)


    Hi there

    We recently set up the WP Cron a s a real cron job like described here: https://encode.host/knowledgebase/154/How-to-replace-WordPress-cron-with-a-cron-job-in-cpanel.html

    Mainly as the litespeed caching plugin stopped WP Cron from working. It looks like now all other 59 jobs/events I see in the Cron Manager are running smoothly. Is it right, that we only have to set up the main Cron Job “action_scheduler_run_queue” as real Cron Job? I guess so.

    What’s concerning me know is this message coming from your Plugin Order Status Rules for WooCommerce:

    Order Status Rules for WooCommerce plugin
    Crons (DISABLE_WP_CRON) are disabled on your server! Crons must be enabled for order status rules to be processed. You can read more here.
    Alternatively you can use “real” (i.e. server) cron jobs. To do this, you need to enable “Allow rules processing via URL” option in plugin settings and set up a cron job on your server.

    Can this be true or is it a false information? You probably don’t have to set up every event as a real cron job, no?

    Or is something false with our configuration? https://nimb.ws/ze6Kjs

    Thanks in advance for your help! ??

    Best reagrds,
    Fletsch

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @fletsch,

    If you are triggering the action_scheduler_run_queue hook, I believe you need to disable the “Use WP Cron” checkbox and enable the “Use Action Scheduler” checkbox in “WooCommerce > Settings > Order Status Rules > Advanced” (both checkboxes can be seen in your screenshot).

    Please give it a try and let me know if that solves it.

    Plugin Author Algoritmika

    (@algoritmika)

    P.S. Also, I think you don’t need to enable our “Allow rules processing via URL” checkbox, as you are not running it as a separate cron job.

    Plugin Author Algoritmika

    (@algoritmika)

    I’m going to mark this thread as “resolved” for now, hope that’s ok. Please let me know if there are still any questions/issues.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cron Job’ is closed to new replies.