Ejemplo n.º 1
0
    def run(self, **kwargs):
        logger = self.get_logger()
        logger.info('TASK :: run_cdr_import')

        # launch the CDRs import
        (status, msg) = import_cdr(shell=False, logger=logger)
        logger.info('TASK RESULT :: call function import_cdr (%s)' % str(msg))

        return True
Ejemplo n.º 2
0
    def run(self, **kwargs):
        logger = self.get_logger()
        logger.info('TASK :: run_cdr_import')

        # launch the CDRs import
        (status, msg) = import_cdr(shell=False, logger=logger)
        logger.info('TASK RESULT :: call function import_cdr (%s)' % str(msg))

        return True
Ejemplo n.º 3
0
    def handle(self, *args, **options):

        import_cdr(shell=True)
Ejemplo n.º 4
0
    def handle(self, *args, **options):

        import_cdr(shell=True)