public function delete(JobDescription $job)
    {
        if ($this->debug) {
            return 0;
        }

        if (!$job->isFutureJob()) {
            return 0;
        }

        return \ResqueScheduler::removeDelayedJobFromTimestamp($job->getWhen(), $job->getQueue(), $job->getClass(),
            $job->getArgs(), $job->getTrackStatus());
    }