Open tom-ph opened 1 year ago
This is even worse when you take a look at the OCSInventory report session folder that does not get cleaned.
Hi @tom-ph,
Regarding the crontab implementation, we have a bit of documentation available here : https://wiki.ocsinventory-ng.org/13.Docker-documentation/Using-the-docker-image/#crontab-implementation
@gaelrayot-epfl, since the 2.12.1 release, php sessions are now destroyed at the end of our cron scripts, so sessions should no longer accumulate.
Regards, Léa
It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.
General informations
Docker host's operating system : debian11 Mysql Server version : 8
Problem's description
In order to use OCS-Crontabs (especially for software inventory update), cron must be present in the OCS docker image (it is not at the moment). If I'm not missing something, solution should be as simple as adding cron to the list of packages to install with apt-get in the Dockerfile.
Thank you, Tommaso