1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

update nextcloud occ command

This commit is contained in:
kev 2018-02-10 12:44:39 +08:00
parent ced4fbc88b
commit fdd9f013cb

View File

@ -33,15 +33,17 @@ nginx:
```bash
$ docker-compose up -d
$ docker-compose exec --user www-data nextcloud bash
>>> php occ files:scan --all
$ docker-compose exec -u www-data nextcloud ./occ files:scan --all
Starting scan for user 1 out of 1 (admin)
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 10 | 21 | 00:00:00 |
+---------+-------+--------------+
>>> exit
$ crontab -l
0 * * * * docker exec -u www-data nextcloud_nextcloud_1 ./occ files:scan --all
```
You can use the [occ][2] admin tool.