i want to run cron job in wordpres using default function

add_filter( ‘cron_schedules’, ‘cron_add_everyminute’ ); function
cron_add_everyminute( $schedules ) { // Adds once weekly to the
existing schedules. $schedules = array( ‘everyminute’ =>
array( ‘interval’ => 120, //set cron time you want call
‘display’ => __( ‘Every Minute’ )
), ); return $schedules; }

Read more here: how to run cron job in wordpress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , ,

Wordpress related questions and answers: