DjangoおよびCeleryを使用した非同期タスク処理。タスクキューイング、ワーカー管理、エラー処理、スケジューリング。Redis/RabbitMQ ブローカー統合。
d8409a4Django でのバックグラウンドジョブと非同期処理。
pip install celery redis
from celery import shared_task
@shared_task
def send_email(recipient):
# メール送信ロジック
pass
celery -A myapp worker -l info
send_email.delay(recipient) # すぐにキューに追加、非同期実行
from celery.schedules import crontab
app.conf.beat_schedule = {
'send-report-daily': {
'task': 'app.tasks.send_report',
'schedule': crontab(hour=9, minute=0),
},
}
詳細については、ドキュメントを参照してください。
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/django-celery · pinned to the source commit
git clone https://github.com/affaan-m/ECC.git
cd ECC
git checkout d8409a4b0813771235555e32e3d8046a73988bfa
mkdir -p ".claude/skills/django-celery"
cp -r "docs/ja-JP/skills/django-celery" ".claude/skills/django-celery"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit d8409a4b0813. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
Instructs shell/process/package operations that run commands on the host.
Evidence: pip install· fingerprint 7944ec554efca445