digitaldemocratic/dd-apps/docker/nextcloud/nc-queue.sh

6 lines
128 B
Bash
Executable File

#!/bin/sh
find "${NC_MAIL_QUEUE_FOLDER:-/nc-mail-queue}" -name '*.sh' -exec sh -c \
'i="$1"; "$i" && rm "$i"' shell {} \
';'