mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 08:05:13 +02:00
Add celery task for get_email
Allows you to get_email even without cron, thus enabling the use of django-helpdesk of cronless PaaS services.
This commit is contained in:
8
helpdesk/tasks.py
Normal file
8
helpdesk/tasks.py
Normal file
@ -0,0 +1,8 @@
|
||||
from celery import task
|
||||
|
||||
from .email import process_email
|
||||
|
||||
|
||||
@task()
|
||||
def helpdesk_process_email():
|
||||
process_email()
|
Reference in New Issue
Block a user