new custom command for sending mails via cron (still empty)

This commit is contained in:
Benni Bärmann 2020-10-07 11:21:21 +02:00
parent 78272a2f77
commit 0f1523cc6a
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
from 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('sendmails custom command executed'))