Install new cron per docker-compose

This commit is contained in:
Florian Zirker 2021-11-24 15:36:30 +01:00
parent 837c0196d5
commit 6cc7d781bd
2 changed files with 24 additions and 1 deletions

4
nextcloud/crontab Normal file
View file

@ -0,0 +1,4 @@
*/5 * * * * php -f /var/www/html/cron.php
1,11,21,31,41,51 * * * * php -f /var/www/html/occ files:cleanup
2,12,22,32,42,52 * * * * php -f /var/www/html/occ files:scan --all
#3,13,23,33,43,53 * * * * php -f /var/www/html/occ preview:pre-generate