diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-11-21 22:16:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 22:16:35 +0000 |
commit | 33b2b38308c41fc9d182df241a317f700d861d9a (patch) | |
tree | 78563e21df2243e7597e0f74c018e8ef01a37cee /app/tasks/__init__.py | |
parent | 94426e97aa0f539be2c0a04b91e1beefef30563e (diff) | |
download | cheatdb-33b2b38308c41fc9d182df241a317f700d861d9a.tar.xz |
Improve package scoring
Diffstat (limited to 'app/tasks/__init__.py')
-rw-r--r-- | app/tasks/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/tasks/__init__.py b/app/tasks/__init__.py index fb62cb0..1f3df02 100644 --- a/app/tasks/__init__.py +++ b/app/tasks/__init__.py @@ -69,6 +69,10 @@ CELERYBEAT_SCHEDULE = { 'topic_list_import': { 'task': 'app.tasks.forumtasks.importTopicList', 'schedule': crontab(minute=1, hour=1), + }, + 'package_score_update': { + 'task': 'app.tasks.pkgtasks.updatePackageScores', + 'schedule': crontab(minute=10, hour=1), } } celery.conf.beat_schedule = CELERYBEAT_SCHEDULE |