Browse Source

Quito el parámetro -it del comando

main
Celestino Rey 3 years ago
parent
commit
ed3e60bb26
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      Firefly/k8s-cluster/exporta
  2. +1
    -1
      Firefly/k8s-cluster/lanzaCron

+ 2
- 0
Firefly/k8s-cluster/exporta View File

@ -0,0 +1,2 @@
echo "Comando '$1'"
kubectl exec -ti `kubectl get pod -n firefly | grep -v mysql |grep -v phpmy |grep -v NAME|cut -c1-27` -n firefly -- runuser -u www-data "$1"

+ 1
- 1
Firefly/k8s-cluster/lanzaCron View File

@ -1 +1 @@
kubectl exec -ti `kubectl get pod -n firefly | grep -v mysql |grep -v phpmy |grep -v NAME|cut -c1-27` -n firefly -- runuser -u www-data /usr/local/bin/php /var/www/html/artisan firefly-iii:cron
kubectl exec `kubectl get pod -n firefly | grep -v mysql |grep -v phpmy |grep -v NAME|cut -c1-27` -n firefly -- runuser -u www-data /usr/local/bin/php /var/www/html/artisan firefly-iii:cron

Loading…
Cancel
Save