function delete_cron_job($file, $class, $method, $arguments = array()) { $cron_list = new vivvo_cron_list(); $cron_job = $cron_list->get_cron_job_by_hash(md5($file . $class . $method . serialize($arguments))); if ($cron_job) { $pm = new vivvo_post_master(); $cron_list->sql_delete_list($pm); } }