PDA

View Full Version : set up a cron job for RSS


takahwa
10-24-2005, 06:19 PM
How to set up a cron job to automatically update RSS feeds ?
I don't know what command I should run.

Regards,
Takahiro

David
10-24-2005, 07:00 PM
Welcome :)

I beleive you said you were using cPanel. If yes, goto
http://www.yoursite.com:2082/frontend/x/cron/simplecron.html

In the Command to Run box, type:
/usr/local/bin/php /home/username/public_html/directory/admin/importrss.php
Notes:
"username" would likely be the FTP username.
"/directory" would be the folder where you have it installed. If is in the main folder of the site, remove this.

Below the command, just select when you would like it to run.

You can always visit ...
yoursite.com/folder_if_any/admin/importrss.php
... to import manually.

Let me know if that helped.
Thanks,
David

takahwa
10-25-2005, 06:14 AM
> /usr/local/bin/php /home/username/public_html/directory/admin/importrss.php

Thanks, I fixed the problem. I put a wrong command on cron job.

Takahiro