aboutsummaryrefslogtreecommitdiff
path: root/apks/nextcloud-ext/nextcloud-ext.cron
blob: a989082419ca317617554c0b8631f3c5b4f010ad (plain)
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 'occ preview:pre-generate'
fi