Closed StefanSa closed 2 years ago
Hi @StefanSa can you elaborate it? Why do you need a crond? Maybe I'm out of context, from my point of view do you need to schedule something? If not, can you send any documentation about the crond of your point of view? So I can see if there is anyway to help.
As far as i know, Glpi needs Crond or croni. Similar to the Dockerimage, otherwise there are also problems with certain plugins such as fusioninventory
Ok, got the idea, but unfortunately you can run cronjobs from inside a kubernetes deployments. However there is a kubernetes object called cronjob to do so, maybe you can schedule a cronjob get the data that you want and send it back to glpi, but this is a great "guess".
A doc about this: https://opensource.com/article/20/11/kubernetes-jobs-cronjobs
Hi,
i already had this idea, here is a good example:
https://www.linkedin.com/pulse/creating-kubernetes-cron-job-backup-postgres-db-prakarsh-
Ok, that doc is about the database backup, no problem to do that. Where I've work we decide to go with other tool, so I don't have the experience with glpi, so I'm intrigued at the necessity of a cron for fusioninvetory? Can you send the commands that the cron would be executing in a "on-premises" instalation.
Basic cronjob using the fametec/crond-glpi image was created with the purpose to give a lead, that cron can't be used in a prod env, going further in the discussion, I've recommend the usage of a DBaaS, like RDS or GCP Databases.
Created glpi-cronjob.yaml
Hi, how to install Fussioninventory in this img?
Hi, @ricardo-f thanks for your good work here. Question about kubernetes solution from you, can you please update, it so that this solution also work with crond.
Thank you for your time and effort.