From 8a245bbbdda04bc1fdec5b0307c80ced52e8e9d4 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Fri, 19 Aug 2022 15:18:34 +0200
Subject: [PATCH] fixed new command for scheduler

---
 chart/templates/deployment.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml
index e9e6661aa..d3391de4b 100644
--- a/chart/templates/deployment.yaml
+++ b/chart/templates/deployment.yaml
@@ -110,8 +110,8 @@ spec:
           securityContext:
             {{- toYaml .Values.securityContext | nindent 12 }}
           image: "{{ template "fpm_image" . }}"
-          command: ["/bin/bash", "-c"]
-          args: ["/usr/local/bin/php artisan schedule:run && /usr/local/bin/php artisan schedule:work"]
+          command: ["/usr/local/bin/php"]
+          args: ["schedule:work-mg"]
           imagePullPolicy: {{ .Values.image.fpm.pullPolicy }}
           env:
           - name: APP_ENV
-- 
GitLab