mirror of
https://github.com/DiouxX/docker-glpi.git
synced 2026-11-04 14:42:33 -05:00
Update glpi-start.sh
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. After changes all works fine.
This commit is contained in:
1 parent
e4d30f8337
commit
1051a4f1cf
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ else
|
||||
fi
|
||||
|
||||
#Add scheduled task by cron and enable
|
||||
echo "*/2 * * * * www-data /usr/bin/php /var/www/html/glpi/front/cron.php &>/dev/null" >> /etc/cron.d/glpi
|
||||
echo "*/2 * * * * www-data /usr/bin/php /var/www/html/glpi/front/cron.php &>/dev/null" > /etc/cron.d/glpi
|
||||
#Start cron service
|
||||
service cron start
|
||||
|
||||
|
||||
Reference in new issue
Block a user