Cron job not firing
It seems you are using your regular cron for that and it seems you are using the WP cron incorrectly in your example above. If you want to use wp cron in anything, this is the basic usage: if ( ! wp_next_scheduled( ‘wpcron_hook’ ) ) { wp_schedule_event( time(), ‘hourly’, ‘wpcron_hook’ ); } add_action( ‘wpcron_hook’, ‘delay_myposts’ … Read more