summaryrefslogtreecommitdiff
path: root/roles/apps/nextcloud/templates/run-cron.sh.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apps/nextcloud/templates/run-cron.sh.j2')
-rw-r--r--roles/apps/nextcloud/templates/run-cron.sh.j27
1 files changed, 0 insertions, 7 deletions
diff --git a/roles/apps/nextcloud/templates/run-cron.sh.j2 b/roles/apps/nextcloud/templates/run-cron.sh.j2
deleted file mode 100644
index 455bc3ec..00000000
--- a/roles/apps/nextcloud/templates/run-cron.sh.j2
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-POD_NAME="{{ item }}-$(hostname)"
-POD_ID=$(crictl pods --name "$POD_NAME" --state ready -q)
-CONTAINER_ID=$(crictl ps --pod "$POD_ID" --name nextcloud -q)
-
-exec crictl exec "$CONTAINER_ID" php -f /var/www/html/cron.php