haikal/inventory/management/commands/test_task_process_running.py
2025-06-22 13:25:54 +03:00

12 lines
364 B
Python

from django.core.management.base import BaseCommand
# from background_task.models import Task
# from background_task import background
# from django_q.tasks import async_task
from inventory.tasks import send_email
class Command(BaseCommand):
def handle(self, *args, **kwargs):
send_email("ismail.mosa@gmail.com", "teset1@gmail.com", "test", "test")