aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/nextcloud.cron
blob: 096ce65a5d98bccc8ed3c299f7cfa0dbf4088af7 (plain) (blame)
1
2
3
4
5
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