You are not logged in.
Hi everyone,
I've configured the mass_ocs_import plugin and it's working fine, but the old processes doesn't disappear. I have 4+ days old processes when I configured it to delete the processes after 2hours. As there are so many processes, the webpage tries soooooooo long to load.
Can you please tell me what should I do to make it work fine, or which part of the code runs the processes cleaning so I can debug it and see what's wrong ?
Thank you very much.
Offline
Have you configured the both cleaning options ?
Clean is done by the internal cron. Have you some activity on GLPI during this periode ?
Check the file/_log/cron.log
Also try to put GLPI in debug mode.
++
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
There was no activity during this period, but when I resume normal operations, it takes a while to launch the cron and clean the DB.
As I'm currently debugging the plugin and doing some tests, and I wanted the cleaning to be performed automatically, no matter if there's activity or not in the GLPI webpage.
I've tried to include the front/cron.php file in the main page of the plugin, but it doesn't seem to work.
I'll try to make a system's cron task invoking this cron to see if it works.
Thank you very much again
Offline
Yes, using the system cron is the solution.
This is described in the documentation.
++
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Ok, it's there. I looked for it before but didn't found.
Thank you again
Nice job !
Offline
I've installed the cron task and it's working since it's cleaning sessions, launching de dbreplicate and ocsng tasks, but there's no task cleaning the plugin's old processes...
How can I add it at cron launch ?
Offline