fusioninventory / fusioninventory-for-glpi

FusionInventory plugin for GLPI
http://www.FusionInventory.org/
GNU Affero General Public License v3.0
362 stars 150 forks source link

cron instructions not working #2004

Open NatureMuncher opened 7 years ago

NatureMuncher commented 7 years ago

Following the steps on this page I created a cronjob to launch /usr/bin/php5 /var/www/glpi/front/cron.php, however on CentOS7 with php-5.6 there is no php5. Removing the 5 from the command yields another error: # /usr/bin/php /var/www/glpi/front/cron.php Could not open input file: /var/www/glpi/front/cron.php

I think we want this instead: * * * * * /usr/bin/php /usr/share/glpi/front/cron.php Note I omit the redirect to dev/null so future errors will be emailed to the admin rather than failing silently.

ddurieux commented 7 years ago

We can't put doc for each linux distribution and php bin name file and folders where GLPI installed, it say how use it and so you may modify if required ;)