title: Action hook for custom post schedule like publish_future_post
body: <p>I want to trigger a function in my Wordpress when a scheduled custom post will publish. Unfortunate there is no default action hook for <code>custom_post_type</code>.</p>
  
  <p>Here is the sample code of my plugin:</p>
  
  <pre><code>function connectwpblog123 () {
      if( defined( 'DOING_AUTOSAVE' ) &amp;&amp; DOING_AUTOSAVE )
          return; 
      $post_status = 'publish';
      $movie_post1 = array();
      $movie_post1['post_title'] = 'Schedule Test Example';
      $movie_post1['post_type']  = 'fbtweets';
      $movie_post1['post_content'] = 'Abce defgh i gk lmno p qr st';
      $movie_post1['post_status'] = $post_status;
      $movie_post1['tags_input'] = array(1);
      $movie_post1['post_category'] = array(1);
      $post_id = wp_insert_post( $movie_post1 );
  } 
  add_action('publish_future_fbtweets', 'connectwpblog123', 10, 1);
  </code></pre>
  
  <p>When I hook my custom post using publish custom post hook:</p>
  
  <pre><code> add_action('publish_post', 'connectwpblog');
  </code></pre>
  
  <p>This triggers the function for infinite time.</p>