Configuration Sphinx中--rotate的时间配置放在哪里?

Configuration Sphinx中--rotate的时间配置放在哪里?,configuration,indexing,sphinx,configuration-files,Configuration,Indexing,Sphinx,Configuration Files,我想在sphinx中使用--rotate每5分钟更新一次索引,那个数字放在哪里 我以这个命令为例 indexer --rotate --config /home/myuser/sphinx.conf --all 我搜索得不走运,提前感谢sphinx打包的indexer程序不是守护程序,也不会自己定期运行。相反,您需要使用一个调度程序来实现这一点 对于大多数Unix版本,您可以使用cron运行索引器 $crontab-e */5****/path/to/sphinx/bin/indexer--

我想在sphinx中使用--rotate每5分钟更新一次索引,那个数字放在哪里

我以这个命令为例

indexer --rotate --config /home/myuser/sphinx.conf --all 

我搜索得不走运,提前感谢

sphinx打包的indexer程序不是守护程序,也不会自己定期运行。相反,您需要使用一个调度程序来实现这一点

对于大多数Unix版本,您可以使用cron运行索引器

$crontab-e

*/5****/path/to/sphinx/bin/indexer--rotate--config/home/myuser/sphinx.conf--all