1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-15 17:37:22 +01:00
This commit is contained in:
github@kiekerjan.isdronken.nl
2021-04-17 23:00:14 +02:00
parent 05eca610df
commit 4aaee13c1c
10 changed files with 162 additions and 3 deletions

2
conf/cron/miab_dovecot Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
/usr/bin/doveadm fts rescan -A > /dev/null 2>&1

2
conf/cron/miab_solr Normal file
View File

@@ -0,0 +1,2 @@
*/1 * * * * root /usr/bin/curl -s http://127.0.0.1:8080/solr/update?commit=true >/dev/null 2>&1
30 3 * * * root /usr/bin/curl -s http://127.0.0.1:8080/solr/update?optimize=true >/dev/null 2>&1