• Resolved eloylb

    (@eloylb)


    Hi,

    Your plugin was working fine when I used the schedule in wprobot to auto post new articles. I used the option Set first content image as featured.
    When I switched the auto-posting to a cron job (because it was faster), this stopped working. Posts are created without a featured image.

    Can you please help me resolve this?

    Thanks

    https://www.ads-software.com/plugins/quick-featured-images/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Martin Stehle

    (@hinjiriyo)

    What does the cron job do exactly? Does it call ‘wp_insert_post()’?

    Thread Starter eloylb

    (@eloylb)

    The cron calls a php file called cron.php. The containt of the file is:

    require_once(dirname(__FILE__) . ‘/../../../wp-config.php’);

    nocache_headers();

    if(!get_option(‘wpr_options’)) {
    return false;
    }

    if(isset($_REQUEST[‘code’]) && $_REQUEST[‘code’] == get_option(‘wpr_cron’)) {

    require_once( dirname(__FILE__) . ‘/wprobot.php’ );
    wpr_run_cron($_REQUEST[‘id’],$_REQUEST[‘mincamp’],$_REQUEST[‘maxcamp’],$_REQUEST[‘minposts’],$_REQUEST[‘maxposts’],$_REQUEST[‘randtime’],$_REQUEST[‘chance’]);

    Plugin Author Martin Stehle

    (@hinjiriyo)

    Sorry, I do not know WPRobot. I did not purchase it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First image as thumbnail not working when switched to cron for autoposting’ is closed to new replies.