ayaports/apk/nextcloud/nextcloud.cron
2019-06-07 14:13:40 -04:00

6 lines
192 B
Bash

#!/bin/sh
# Run only when nextcloud service is started.
if rc-service nextcloud -q status >/dev/null 2>&1; then
su nextcloud -s /bin/sh -c 'php7 -f /usr/share/webapps/nextcloud/cron.php'
fi