This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
k8s-cluster-projects
Watch
1
Star
1
Fork
0
Code
Issues
1
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Quito el parámetro -it del comando
main
Celestino Rey
3 years ago
parent
e8bffc6cde
commit
ed3e60bb26
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
Firefly/k8s-cluster/exporta
+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
Write
Preview
Loading…
Cancel
Save