I think it can’t work because /application/data/scripts/perform-job.php calls getopt().
But maybe @hajoki can try?
In a shell, check that SAPI which is written after version number is CGI when typing
php -v
Then, get PHP path with this command:
which php
Finally, configure /config/local.config.php
[
...
'cli' => [
'phpcli_path' => '/path/to/php',
...