Skip to content

Instantly share code, notes, and snippets.

@mmourafiq
Created August 14, 2012 21:58
Show Gist options
  • Save mmourafiq/3353379 to your computer and use it in GitHub Desktop.
Save mmourafiq/3353379 to your computer and use it in GitHub Desktop.
cron for sphinx search rotate/merge
*/15 * * * * /home/user/sphinx/bin/indexer --config /home/user/webapps/project-name/sphinx.conf --rotate profiles_delta
0 0 * * * /home/user/sphinx/bin/indexer --config /home/user/webapps/project-name/sphinx.conf --merge profiles profiles_delta --merge-dst-range deleted 0 0 --rotate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment