How to make wp cron job not fire immediately?

As described in wp_schedule_event first parameter is $timestamp – the first time that you want the event to occur. So just add interval to $timestamp. I think it should be like

wp_schedule_event( time() + $delay, 'interval1', 'my_cron_hook' ); 

And set $delay as miliseconds before hook starts.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)