Ellerhold / fs2es-indexer

This tool indexes your directories into an elastic search index and prepares them for searching via Mac OS Spotlight search in a samba file server.
43 stars 3 forks source link

index in background every 30 minutes on server with cronjob or other method? #18

Closed chico11mbit closed 2 years ago

chico11mbit commented 2 years ago

Hi, everything works fine. Thank you for the code. If I want to index every 30 minutes, do I need to set a cronjob for fs2es-indexer? Or are there other possibilities? What must the command look like in crontab then? Or must a bash script be written for it?

Best regards chico

MatthiasKuehneEllerhold commented 2 years ago

You can just use "fs2es-indexer daemon" as explained in the readme. Use systemd/initd/etc in order to start this daemon.