• Resolved Rahim

    (@rahimvaziri)


    Hello @johnbillion,
    Hope you are fine.

    First of all, thank you so much for your great plugin.

    I am using a premium plugin that has a daily cron job that validates the license.

    As you know, one of the WordPress optimizations is to disable default WordPress cron job via define( 'DISABLE_WP_CRON', true ); in the wp-config.php and add a cron job via Cpanel for example.

    I have disabled the default cron job and run the WordPress cron job every minute via Cpanel. https://prnt.sc/tzq63m

    Everything is fine. But my premium plugin can’t verify itself and I have to go to the plugin settings and press the check license button now to get verified again.

    I found it’s cron jon via your plugin. https://prnt.sc/tzq4c0

    I just want to ask you how can I solve this problem that when I disable wp cron via wp-config.php and also get verified for the plugin.

    Thank you.
    Rahim

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Whether or not the default WP Cron runner is disabled shouldn’t affect this.

    It might be related to the hostname. Can you try fetching the URL (eg. via a Curl request to example.com/wp-cron.php) instead of loading the file directly?

    If that’s not the problem then I would recommend contacting the author of the premium plugin for advice.

    John.

    Thread Starter Rahim

    (@rahimvaziri)

    The page in the admin area which validates the license, is this:

    https://look.ir/wp-admin/admin.php?page=wip-guard-reg

    and the hook name of the cron job in your plugin is this:

    wip-guard-reg_daily_validator

    any update?

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    I think you need to contact the author of the premium plugin as this isn’t related to WP Crontrol directly.

    Thread Starter Rahim

    (@rahimvaziri)

    Just one more question.

    If I delete the cron job via your plugin, the validation of the plugin will be stoped?
    I was thinking that after running the cron job, and validating the plugin, I delete the cron job and stop the next validations.
    I have already contacted the author but they couldn’t help with this.

    Thank you.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    If you delete the event via WP Crontrol then the event will be deleted BUT sometimes the plugin that adds the cron event will add it back again. This depends entirely on the plugin that adds the cron event. Give it a try!

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

The topic ‘Cron Job Question’ is closed to new replies.