• Resolved smes

    (@smes)


    Hi Team,

    I’ve just disabled the native WordPress cron in favour of using a server-side cron job instead.

    Will this effect the functioning of WordFence at all, and if so, what should I keep in mind?

    The most obvious concern is how this might effect scheduled scanning.

    Many thanks for your help and time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @smes,

    That should be fine as long as you are running it with a curl and not via php directly. If you use curl to trigger the WP cron it will be triggered by the same user as the one WordPress is running as. This ensures that you don’t run in to any problems with file permissions. Such issues can occur if WP cron is running as a different server user than what the rest of your WordPress installation is running with.

    It should not have any impact on your scheduled scanning as long as what you are doing is actually triggering WP cron with a server side cron job.

    Hope that helps!

    Thread Starter smes

    (@smes)

    Hi @wfasa

    Thanks for your reply, very helpful.

    Based on the advice of my host, I’m currently using the wget command line to call the WP cron.

    Is this suitable?

    Many thanks for your time!

    Hi @smes!
    wget would give you the same outcome as curl in this situation. The only thing you want to avoid is calling the .php file directly. So wget is ok! ??

    No problem, happy to help. Resolving this one for now but don’t hesitate to create a new thread if you have any other questions or concerns.

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