Title: Cron?
Last modified: July 20, 2018

---

# Cron?

 *  Resolved [smes](https://wordpress.org/support/users/smes/)
 * (@smes)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cron-22/)
 * 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)

 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/cron-22/#post-10523898)
 * Hi [@smes](https://wordpress.org/support/users/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](https://wordpress.org/support/users/smes/)
 * (@smes)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/cron-22/#post-10524156)
 * Hi [@wfasa](https://wordpress.org/support/users/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!
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/cron-22/#post-10525701)
 * Hi [@smes](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wfasa](https://wordpress.org/support/users/wfasa/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/cron-22/#post-10525701)
 * Status: resolved