Custom recurrence not working / Wp Cron event

Maybe someone will make use of it, I had a similar problem and the solution was to call time() instead of current_time( 'timestamp' ) as the first argument of wp_schedule_event().

So it should look like this: wp_schedule_event( time(), 'custom_interval', 'custom_hook' );

I tried to find a difference between time and current_time(‘timestamp’), but they appear to return the same output, int unix time.