ups
This commit is contained in:
parent
803554a410
commit
5af3d00e39
3
Makefile
3
Makefile
@ -151,7 +151,8 @@ celery-beat: venv redis
|
||||
@echo "Starting Celery beat scheduler..."
|
||||
# Ensure celerybeat-schedule file is removed for clean start if needed
|
||||
@-rm -f celerybeat-schedule.db
|
||||
$(CELERY) -A celery_worker:celery beat --loglevel=info --scheduler django_celery_beat.schedulers:DatabaseScheduler
|
||||
# Use the default file-based scheduler (removed the --scheduler flag)
|
||||
$(CELERY) -A celery_worker:celery beat --loglevel=info
|
||||
|
||||
# Check if Redis is running, start if needed
|
||||
redis:
|
||||
|
Loading…
x
Reference in New Issue
Block a user