When the container starts, this command append the line every time. After 13 months of daily container restarts (because of bareos backup), whe have /etc/cron.d/glpi with more than 500+ line of similar crons. This make a critical CPU utilize on server.
When the .sh was changed, as i propose, CPU utilize make normal and /etc/cron.d/glpi contains olny 1 line after every startup. Glpi also works fine.
When the container starts, this command append the line every time. After 13 months of daily container restarts (because of bareos backup), whe have /etc/cron.d/glpi with more than 500+ line of similar crons. This make a critical CPU utilize on server. When the .sh was changed, as i propose, CPU utilize make normal and /etc/cron.d/glpi contains olny 1 line after every startup. Glpi also works fine.