Would this help?
$status="scheduled"; //you may need to change this
$my_post['post_status'] = $status;
Fond something from this link.
Would this help?
$status="scheduled"; //you may need to change this
$my_post['post_status'] = $status;
Fond something from this link.