cron job blocked by itsec?
-
I’ve created a cron job to call wp-cron.php at frequent intervals:
wget -q -O - https://spirit-gallery.com/staging/wp-cron.php?doing_wp_cron >/dev/null 2>&1
The server logs indicate that it fires:
192.81.170.9 - - [03/Jun/2018:12:50:11 -0400] "POST /staging/wp-cron.php?doing_wp_cron=1528044611.4166240692138671875000 HTTP/1.1" 200 - "https://spirit-gallery.com/staging/wp-cron.php?doing_wp_cron=1528044611.4166240692138671875000" "WordPress/4.9.6; https://spirit-gallery.com/staging"
I’ve come across a few suggestions on the internet that itsec blocks WGET and to either disable via wp-config or the itsec .inc files at …wp-content/plugins/better-wp-security/core/modules/ban-users/lists/ No signs of the line of code that I’m supposed to remove, so figure this is an old feature.
So, the cron job appears to fire, but the scheduled tasks under wp-cron do not run. Is there something in my iThemes Security settings blocking the implementation?
- The topic ‘cron job blocked by itsec?’ is closed to new replies.