summaryrefslogblamecommitdiff
path: root/user/nextcloud/nextcloud.cron
blob: 21a5b566acb06b34cd0ad73a063e659cf41a4e39 (plain) (tree)
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 'php -f /usr/share/webapps/nextcloud/cron.php'
fi