KazV2/bin/cron-cloud.sh

8 lines
136 B
Bash
Raw Normal View History

2024-06-03 18:43:35 +02:00
#!/bin/bash
for cloud in $(docker ps | grep -i nextcloudServ |awk '{print $12}')
do
docker exec -u www-data $cloud php cron.php
done