How to undo or stop a Job?

Omeka uses exec() PHP function to find PHP-CLI path. Then it uses exec() to execute PHP-CLI with the job as parameter.

I have asked here if an alternative to PHP-CLI was possible, but I have not received any answer, so I suppose there is no one.