WP-o-Matic problem running cron job

After installation you’ll have to change cron.php if you want to use automatic feed fetching via crontab.

  1. take note of the code wp-o-matic will give you on installation.
  2. open cron.php in your favorite editor
  3. add this piece of code after the <?php opening tag :

  4. if ($argc > 0)
    {
    for ($i=1;$i < $argc;$i++)
    {
    parse_str($argv[$i],$tmp);
    $_REQUEST = array_merge($_REQUEST, $tmp);
    }
    }

  5. Save the file
  6. You’re done
Author: admin