Cancel/Stop a currently ongoing scheduled cron event?

Removing / un-scheduling obsolete cron jobs can be achieved using this code snippet.

add_action("init", "remove_cron_job"); 
function remove_cron_job() {
 wp_clear_scheduled_hook("my_schedule_hook"); 
} 

Change the my_schedule_hook to cron’s hook name and add the code in your theme’s function.php file.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)