From 0f1523cc6aa540186c9cfddbd0b8a14954b42879 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Wed, 7 Oct 2020 11:21:21 +0200 Subject: [PATCH] new custom command for sending mails via cron (still empty) --- input/management/commands/sendmails.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 input/management/commands/sendmails.py diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py new file mode 100644 index 0000000..b692197 --- /dev/null +++ b/input/management/commands/sendmails.py @@ -0,0 +1,7 @@ +from django.core.management.base import BaseCommand, CommandError + +class Command(BaseCommand): + help = 'This command sends mail with surveylinks after some amount of time.' + + def handle(self, *args, **options): + self.stdout.write(self.style.SUCCESS('sendmails custom command executed'))