Configuration file 3.0+
🖥️ Option: -c, --config
Path to an external configuration file.
SEE ALSO
Read more in the Configuration section.
Relative path
Provided config files can be relative to the current working directory.
bash
./cache-warmup.phar -c "cache-warmup.json"
./cache-warmup.phar --config "cache-warmup.json"bash
CACHE_WARMUP_CONFIG="cache-warmup.json"Absolute path
You can also provide the absolute path to a config file.
bash
./cache-warmup.phar -c "/path/to/cache-warmup.json"
./cache-warmup.phar --config "/path/to/cache-warmup.json"bash
CACHE_WARMUP_CONFIG="/path/to/cache-warmup.json"