Allow rules processing via URL?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #85540
    Javier
    Guest

    Hello,

    What’s the correct way to setup “Allow rules processing via URL”? Should I create a new cron job in my server pointed towards the suggested url in advanced settings? or my real wp-cron.php cron should take care of it?

    Thanks

    #85541
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Javier,

    Yes, that’s correct – you have to create a new “real” cron job on your server pointed towards the suggested URL. And don’t forget to enable the “Allow rules processing via URL” checkbox in our plugin settings.

    Also, I would probably suggest disabling the “Use WP cron” option in our plugin settings, so that rules would be processed only once. This is optional though, if you wish, you can set rules to be processed by your server “real” crons and WP crons simultaneously.

    Hope that helps. Please let me know if you have any questions.

    #85542
    Javier
    Guest

    Thanks Tom!

    Something like this?

    0 * * * * wget -q -O - 'https://mydomain.com?alg_wc_order_status_rules_process_rules >/dev/null 2>&1
    #85543
    Javier
    Guest

    It worked. I just had to change the command to “curl” instead of wget.

    Thanks for your assistance!

    #85544
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Javier,

    To be honest, I’m not too good at these things. For example, on my server with “DirectAdmin” web control panel installed by our hosting company, I can simply go to “Cronjobs”, and set an URL and time intervals for it, so it’s easier than in your case.

    Anyway, glad to hear you’ve figured it out 🙂

    Please let me know if you need anything else. And if you like the plugin, please consider leaving me a rating here or here.

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