PDA

View Full Version : How to set Crontan for News Feed Plugin


Garfield
12-02-2006, 12:29 PM
Can anyone please tell me how to setup the Crontab for News Feed plugin?

I like to know how to set the Crontab in cPanel.

Lets say I like to fetch news from a RSS feed ONCE in every 24 hours.

Please give us step by step instruction to do it in cPanel.

Thank you.

Alex
12-04-2006, 04:34 PM
http://www.vivvo.net/doc/plugins.html#newsfeed

To enable automatic news fetching, you need to activate Cron Job that will fetch the news automatically in time interval that you specify within Administration.

You can add the cron job on your Web Server in several different ways, but the easiest one is via cPanel -> Cron Jobs. You need to know the path to PHP executable on your server and full path to the cron script. Path to PHP executable is usually /usr/bin/php, as we used in our example, but if this is not the case on your server, you need to contact your Administrator to obtain the correct path. The full path to Vivvo cron script is actually the path you can find in /include/conf.php, so just copy it and append /plugins/import_feed/cron_jobs.php to it.