I want to change drafts posts to scheduled post.
I changed post_status = 'future' and Post_date
But on post date time post cannot publish. post_status is still 'future'
and showing message = missed schedule
---I update with this query..
UPDATE wp_posts SET post_date_gmt = '$futuredate', post_date = '$futuredate', post_status = 'future' WHERE id=".$row['ID'];
Note: if I add a scheduled post with wordpress, There is no problem. On date time post is publishing.