A nice barebone script for pushing drupal nodes without user's engagement:
global $user;<br /> $node = new StdClass();<br /> <br /> // Information for base node<br /> $node->type = 'story'; // *** This needs to be a valid content type<br /> $node->uid = $user->uid;<br /> <br /> // Optional - Useful if you want the create date/time to reflect something other than now<br /> // $node->created = ** Valid unix time stamp<br /> <br /> $node->status = 1; // Set to 0 if you do not want the content published<br /> $node->promote = 0; // Set to 1 if you do not want the content promoted to the front page<br /> $node->sticky = 0; // Set to 1 if you do not want the content sticky<br /> $node->title = 'f2Title';<br /> $node->body = 'f2Body';<br /> $node->teaser = 'f2Tease';<br /> <br /> node_save($node);<br /> $nid = $node->nid;