generate insularity scores nightly

This commit is contained in:
Tao Bror Bojlén 2019-07-18 18:15:16 +03:00
parent 9f2530fdd0
commit 8cf95eeb39
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ config :backend, Backend.Scheduler,
# At midnight every day
{"@daily", {Backend.Scheduler, :prune_crawls, [1, "month"]}},
# 00.15 daily
{"15 0 * * *", {Backend.Scheduler, :generate_edges, []}}
{"15 0 * * *", {Backend.Scheduler, :generate_edges, []}},
# 00.30 every night
{"30 0 * * *", {Backend.Scheduler, :generate_insularity_scores, []}}
]
# Import environment specific config. This must remain at the bottom