You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
353 B
15 lines
353 B
import logging
|
|
|
|
from django.core.management.base import BaseCommand
|
|
|
|
from finance.tasks import periodic_billing
|
|
|
|
logger_yandex = logging.getLogger('yandex_money')
|
|
|
|
|
|
class Command(BaseCommand):
|
|
|
|
def handle(self, *args, **options):
|
|
logger_yandex.info("start console repeat payment command")
|
|
print('Started')
|
|
periodic_billing()
|
|
|