Skip to content

Blocking Web Access to Cron Jobs

  1. if (isset($_SERVER[‘REMOTE_ADDR’])) die(‘Permission denied.’);

Note

it’s also possibl with a .htaccess file and “deny from all ” in that file