Merge pull request #5 from sparklyballs/cron

add cron job
This commit is contained in:
sparklyballs 2016-07-26 01:50:35 +01:00 committed by GitHub
commit 1310ff6d9e
3 changed files with 7 additions and 0 deletions

1
root/defaults/nextcloud Normal file
View File

@ -0,0 +1 @@
*/15 * * * * s6-setuidgid abc php -f /config/www/nextcloud/cron.php

View File

@ -3,3 +3,6 @@
# permissions
chown abc:abc /config /data
chown -R abc:abc /var/lib/nginx
# set cronjob
crontab /defaults/nextcloud

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
/usr/sbin/crond -f -S -l 0 -c /etc/crontabs