Wordpress cronjob every 3 minutes : <p>there are many post on stackoverflow with this topic but (i dont know why) nothing will work for me.</p>

<p>What i have</p>

<pre><code>function isa_add_every_three_minutes( $schedules ) {

    $schedules['every_three_minutes'] = array(
            'interval'  =&gt; 180,
            'display'   =&gt; __( 'Every 3 Minutes', 'textdomain' )
    );

    return $schedules;
}
add_filter( 'cron_schedules', 'isa_add_every_three_minutes' );


function every_three_minutes_event_func() 
{
    // do something
}

wp_schedule_event( time(), 'every_three_minutes', 'every_three_minutes_event_func' );
</code></pre>

<p>Any ideas what i'm doing wrong?</p>
