Browse Source

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

master
Benni Baermann 4 years ago
parent
commit
0f1523cc6a
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      input/management/commands/sendmails.py

+ 7
- 0
input/management/commands/sendmails.py View File

@ -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'))

Loading…
Cancel
Save