18
0
Fork 0

Spécifie les binaires + ajout de ionice

This commit is contained in:
btatu 2023-01-02 17:51:19 +01:00
parent 5352393adb
commit 1f8616a485
1 changed files with 1 additions and 1 deletions

View File

@ -171,5 +171,5 @@ Pour exclure un répertoire (par exemple `backup/` contenant de nombreux fichier
Il peut être judicieux de créer un cron pour faire une indexation journalière, très pratique quand couplé avec l'interface CGI.
~~~
30 6 * * * duc index -q -d /var/cache/duc.idx / && chmod 640 /var/cache/duc.idx && chgrp www-data /var/cache/duc.idx
30 6 * * * /usr/bin/ionice -c3 /usr/bin/duc index -q -d /var/cache/duc.idx / && /bin/chmod 640 /var/cache/duc.idx && /bin/chgrp www-data /var/cache/duc.idx
~~~