From 09debd9f9820565692f47e22a38fa31e117d9e58 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 25 Jun 2017 02:19:49 +0200 Subject: community/nextcloud: add cron job --- community/nextcloud/nextcloud.cron | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 community/nextcloud/nextcloud.cron (limited to 'community/nextcloud/nextcloud.cron') diff --git a/community/nextcloud/nextcloud.cron b/community/nextcloud/nextcloud.cron new file mode 100644 index 0000000000..096ce65a5d --- /dev/null +++ b/community/nextcloud/nextcloud.cron @@ -0,0 +1,6 @@ +#!/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 -- cgit v1.2.3