mirror of
https://github.com/flibusta-apps/meilie_updater.git
synced 2025-12-06 15:15:37 +01:00
Remove cron jobs
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
from arq.cron import cron
|
|
||||||
|
|
||||||
from app.services import (
|
from app.services import (
|
||||||
update,
|
update,
|
||||||
update_books,
|
update_books,
|
||||||
@@ -21,4 +19,3 @@ class WorkerSettings:
|
|||||||
redis_settings = get_redis_settings()
|
redis_settings = get_redis_settings()
|
||||||
max_jobs = 2
|
max_jobs = 2
|
||||||
job_timeout = 15 * 60
|
job_timeout = 15 * 60
|
||||||
cron_jobs = [cron(update, hour={4}, minute=0)]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user