@luca , add this at the beginning of your CLI script: $_SERVER['SERVER_NAME'] = "https://example.com";
. Then your script tricks Kirby into thinking the request comes from example.com and it’ll load that config.
2 Likes