QuickRelease / django-tenants-celery-beat

MIT License
12 stars 9 forks source link

Periodic tasks on a public schema? #15

Open FeralRobot opened 3 years ago

FeralRobot commented 3 years ago

I want to run individual, independent schedules from tenants with PeriodicTasks from django-celery-beat.

Does this result in the periodic tasks being located in a public schema?

dave-v commented 3 years ago

Yes, the PeriodicTask table only lives in the public schema, but you can still have completely independent schedules for each tenant. Each PeriodicTask is linked a tenant, and will only run on that tenant's schema, and will only be visible in that tenant's admin (or the public schema's admin, which has full visibility).