Skip to content

Allow failures 0.7.10+ ​

📝 Name: allowFailures · 🖥️ Option: --allow-failures

Allow failures during URL crawling and exit with zero.

Example ​

Enable the flag to allow any failure during crawling.

bash
./cache-warmup.phar --allow-failures
json
{
    "allowFailures": true
}
php
use EliasHaeussler\CacheWarmup;

return static function (CacheWarmup\Config\CacheWarmupConfig $config) {
    $config->allowFailures();

    return $config;
};
yaml
allowFailures: true
bash
CACHE_WARMUP_ALLOW_FAILURES=1

Released under the GNU General Public License 3.0 (or later)