Closed okfish closed 8 years ago
What email are you trying to send on a schedule? django-celery-email
is simply designed to use your celery workers to send email. If you want an email sent every 10 seconds (which is what it sounds like you're trying to do) then you'll have to create your own task that creates an email to send or add an email object to the arguments to your periodic task. But to be clear a celery beat (periodic) task is not required to make email work with this configuration.
Thanks for the answer. Good question has a half of answer, so.. yes, I understood now that I can't use included task as periodic via django-celery's admin and should make my own.
Hello everyone I'm trying to get working this trinity: django-celery, django-celery-email and django-post-office. Settings contains
And everything looks working perfectly except celery periodic task which I've added via django admin. I've choosen the registered task 'djcelery_email_send_multiple' and apply interval of 10'. The task is sending by celery beat on execution but celery demon just outputs:
Env: django==1.8.9 celery==3.1.23 django-celery==3.1.17 django-celery-email==1.1.4 django-post-office==2.0.7
So, the question is... Is there a workaround for the issue or i should make my own celery task, which would know about queued mails?