new custom command for sending mails via cron (still empty)
This commit is contained in:
parent
78272a2f77
commit
0f1523cc6a
|
@ -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 New Issue