停止当前运行的cron作业(isp manager)

I've executed a cron job, that has executed my php function:

   public function run($arguments)
    {
        restart:
        DB::query('insert into test(`label`) values ("run")');
        sleep(1);
        goto restart;
    }

so it is looping and each second adding a record to the DB, i've deleted the task from the cron job list, but the process still works, how do i stop it without restarting the server, I can use SSH also

`killall -9 php`;

in PHP or shell kills all the php-processes. or do kill -9 PID where PID is the process id of the php-job.