How to create a planified task

<note tip>GLPI use an internal “pseudo cron”. Scheduled tasks are launch automatically when there is activity on the application (by connected users calling pages).

If you want this tasks to be launched even without any activity, you can create a system planified task.</note>


Requirement: php5-cli

You must add a cron task like :

*/5 * * * * /usr/bin/php5 /var/www/ &>/dev/null

This task will run the cron.php script every 5 minutes, it will launch the GLPI scheduled tasks automatically.

This task must be launched by the user running the web server (apache or www-data, according to your distribution).

<note>If nothing append, check that in the file


memory_limit is set to 32Mo at least. On Ubuntu if you use IMAP for receiver add “”. You can check the result by typing :

tail -f /var/www/


RPM Installation : this is done already during the RPM installation.


You must use the Task Scheduler (from the Control Panel)

Create a new task which will launch the PHP binary, with the cron.php script path as argument every 5 minutes

Examples :

 "c:/pathtophp.exe c:/web_folder/glpi/front/cron.php "

With Wampp

c:/wampphpphp.exe c:/wamp/www/glpi/front/cron.php

With Xampp

Run : C:/(…)xampp/php/php.exe -f cron.php

Start in : C:/(…)xampp/htdocs/glpi/front