new custom command for sending mails via cron (still empty)
This commit is contained in:
parent
78272a2f77
commit
0f1523cc6a
1 changed files with 7 additions and 0 deletions
7
input/management/commands/sendmails.py
Normal file
7
input/management/commands/sendmails.py
Normal 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…
Reference in a new issue