feat: add cron support

This commit is contained in:
2018-11-01 19:40:38 -07:00
parent 571e6dfd75
commit 0834274166
2 changed files with 28 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ function getIndexName(index) {
export async function createIndex(client, index) {
const realIndex = getIndexName(index);
return client.indices
.create({
index: realIndex,