• Resolved andresaiassa

    (@andresaiassa)


    Hi All,

    I have a problem with the feedzy_cron, at this moment I am importing the posts manually clicking on the Import Now on “/wp-admin/edit.php?post_type=feedzy_imports” .

    I installed the plugin WP_Control to check the cron, and I can see this:

    Please see attached jpg.

    On the Next Run says: ! 1 day, 20 hs Ago. I do not why, simply the cron is not working, do you have any idea?

    Also I try to customize the cron with a function, but not working, could you please help me?

    Code:


    function custom_cron_interval($schedules) {
    $schedules[‘every_25_minutes’] = array(
    ‘interval’ => 1500, // 25 minutos en segundos (25 * 60)
    ‘display’ => __(‘Cada 25 minutos’)
    );
    return $schedules;
    }

    add_filter( ‘cron_schedules’, ‘custom_cron_interval’ );


    function schedule_feedzy_cron_every_25_minutes() {
    if ( !wp_next_scheduled( ‘feedzy_cron’ ) ) {
    wp_schedule_event( time(), ‘every_25_minutes’, ‘feedzy_cron’ );
    }
    }

    add_action( ‘wp’, ‘schedule_feedzy_cron_every_25_minutes’ );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.