Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1001 Bytes

TECHNICAL_NOTES.md

File metadata and controls

30 lines (17 loc) · 1001 Bytes

CrowdSec Logo

CrowdSec WordPress Bouncer

Technical notes

Table of Contents

We explain here each important technical decision used to design this plugin.

How to use system CRON instead of wp-cron?

Add define('DISABLE_WP_CRON', true); in wp-config.php then enter this command line on the wordpress host command line:

(crontab -l && echo "* * * * * wget -q -O - htt://<host>:<port>/wp-cron.php?doing_wp_cron >/dev/null 2>&1") | crontab -

Note: replace : with the local url of your website

More info here.