In my code I create a new job with this code:
\XF::app()->jobManager()->enqueueUnique('solvedAlerting_' . time(), 'QuestionThreads:Alerter', $jobParams);
How can I stop the job by it's key programmatically?
I know that all currently running jobs are stored in xf_job table. And deleding records...