Multiple wp_schedule_event cron jobs in plugin cause multi-execution

Maybe the problem happens because you don’t check if your hook is already scheduled.

if ( !wp_next_scheduled( 'first_hook' ) ) {
    wp_schedule_event(time()+60, 'daily', 'first_hook');
}

Leave a Comment

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduseduedusedueduseduedusedusedu