mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-06-03 09:57:35 +00:00
add cron job
This commit is contained in:
@@ -0,0 +1 @@
|
||||
*/15 * * * * s6-setuidgid abc php -f /config/www/nextcloud/cron.php
|
||||
@@ -3,3 +3,6 @@
|
||||
# permissions
|
||||
chown abc:abc /config /data
|
||||
chown -R abc:abc /var/lib/nginx
|
||||
|
||||
# set cronjob
|
||||
crontab /defaults/nextcloud
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
/usr/sbin/crond -f -S -l 0 -c /etc/crontabs
|
||||
Reference in New Issue
Block a user