Cron with Joomla 1.6 Turnkey linux

I'm using Joomla 1.6 turnkey (I downloaded it from your site), and I cannot activate cron of feedgator add for this Joomla version. I was checking it via webmin, but I'm getting strange messages, that I don't have privilegs or not found. /var/www/joomla/administrator/components/com_feedgator/cron.feedgator.php e.g. /bin/sh: /var/www/joomla/administrator/components/com_feedgator/cron.feedgator.php: not found or when I php in front php /var/www/joomla/administrator/components/com_feedgator/cron.feedgator.php .. /bin/sh: php: not found Thanks in advance, Shone
MacroDaveW's picture

You can run PHP5 scripts from command line. To run PHP5 scripts from command line you should install php5-cli package. To install php5-cli you can enter the following command in the terminal prompt:

apt-get install php5-cli

I use the "php /var/www/yourcronjob.php" format in the cron job setup.

Post new comment