I've written a script that inserts a load of posts from an articles database into a wordpress database. The posts are given a timestamp that is staggered at a rate of approx 4 posts a day.
The posts go in, but don't publish when the timestamp arrives, they just sit there in limbo.
I know why they don't publish - THE CRON.
I'm going up the wall trying to figure out what I have to code to tell the cron to deal with the post.
Heres the script, I need to 'add each post to the cron'.
I've been struggling on this for weeks, does anyone know how to add each post to the cron queue?