Import-Rss.php with Cron Job
I hope there is a quick and easy answer to this question.
I realise that Import-Rss.php in not really developed for syndication. But I need to be able to import a changing a rss.xml local feed file regularly.
The way i would normally do this sort of thing would be to set up a Cron Job. However, the normal way i would normally set one doen not seem to work:
php -f /home/username/public_html/blog/wp-admin/import-rss.php
I have also tried it with the following:
php -f /home/username/public_html/blog/wp-admin/import-rss.php?step=1
Oh, and yes the rss.xml file is read Ok when I manually go to the import-rss.php file in the browser and use it.
Thanks for your help.
- The topic ‘Import-Rss.php with Cron Job’ is closed to new replies.