diff options
author | neodarz <neodarz@neodarz.net> | 2019-02-24 17:10:50 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-02-24 17:10:50 +0100 |
commit | 5e448f52252df2e92565ece488c9dffd49e082d2 (patch) | |
tree | a0d850a8ff255429b3b55039a37e51fa7a0e2c6b /README.md | |
parent | e12eb8bd99c1b6695873632e0540fa07379671d4 (diff) | |
download | khanindexer-5e448f52252df2e92565ece488c9dffd49e082d2.tar.xz khanindexer-5e448f52252df2e92565ece488c9dffd49e082d2.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -95,6 +95,26 @@ content modified, you can use: python app.py update ``` +# Cron + +If you want to use cron for start tasks you can use it. +But there is a cron like function with this app who do nothing more that cron +for the moment. For start it just use the following command: + +``` +python app.py cron +``` + +All the configuration are in the file `cron.conf` and the syntax is the same +that [UNIX cron](https://apscheduler.readthedocs.io/en/latest/modules/triggers/cron.html?highlight=cron) +but there is some some project specification, checkout the first line of the +file who is a comment about his structure. + +Note 1: There is an id column, make sure all ids are different elsewhere the last +task erase the previous one with the same id. + +Note 2: This is only implemented on the crawl function for the moment. + # Enjoy For start searching send a `POST` request with the manticoresearch json API, |