Browse Source

update crontab task example

main
ghost 2 years ago
parent
commit
e66e6832bd
  1. 3
      README.md

3
README.md

@ -47,6 +47,9 @@ sphinxsearch
##### Crontab ##### Crontab
``` ```
@reboot searchd
@reboot indexer --all --rotate
0 * * * * indexer --all --rotate 0 * * * * indexer --all --rotate
0 0 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1 0 0 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1

Loading…
Cancel
Save