Remove crontab jobs

This commit is contained in:
2022-04-28 12:54:10 +03:00
parent 570628a821
commit 6ee027b430

View File

@@ -1,5 +1,3 @@
from arq.cron import cron
from app.services.cache_updater import ( from app.services.cache_updater import (
check_books, check_books,
cache_file_by_book_id, cache_file_by_book_id,
@@ -29,4 +27,3 @@ class WorkerSettings:
redis_settings = get_redis_settings() redis_settings = get_redis_settings()
max_jobs = 2 max_jobs = 2
job_timeout = 3 * 60 job_timeout = 3 * 60
cron_jobs = [cron(check_books, hour={5}, minute=0)]