Auto RSS Update Cron Job

I can’t get the RSS update working via a cron job from cpanel.

/usr/local/bin/php -q /home/emc/public_html/newsletter/admin/index.php? page=getrss /home/emc/public_html/newsletter/config/config.php

But the process queue is working with the following command;

/usr/local/bin/php -q /home/emc/public_html/newsletter/admin/index.php -p processqueue -c /home/emc/public_html/newsletter/config/config.php

I updated the RSS cron command to the following; and i get “Error: getrss does not process commandline”

/usr/local/bin/php -q /home/emc/public_html/newsletter/admin/index.php -p getrss -c /home/emc/public_html/newsletter/config/config.php

I guess that you are using the rss manager plugin. You then need to add a parameter to the command to identify the plugin

usr/local/bin/php /home/emc/public_html/newsletter/admin/index.php -m rssmanager -p getrss -c /home/emc/public_html/newsletter/config/config.php

But from experience it can be difficult to get this plugin to work properly. I recommend using one that I developed, the Rss Feed plugin, which has a simpler approach to selecting and sending the rss feed items.