Exemplo n.º 1
0
 def initialize_seta(self):
     logger.info('Updating JobPriority table.')
     logger.info('Number of items in table: %d', JobPriority.objects.count())
     update_job_priority_table()
     logger.info('Loading preseed table.')
     logger.info('Number of items in table: %d', JobPriority.objects.count())
     load_preseed()
     logger.info('Number of items in table: %d', JobPriority.objects.count())
Exemplo n.º 2
0
 def initialize_seta(self):
     logger.info('Updating runnable jobs table (this will take few minutes).')
     RunnableJobsProcess().run()
     logger.info('Updating JobPriority table.')
     logger.info('Number of items in table: %d', JobPriority.objects.count())
     update_job_priority_table()
     logger.info('Loading preseed table.')
     logger.info('Number of items in table: %d', JobPriority.objects.count())
     load_preseed()
     logger.info('Number of items in table: %d', JobPriority.objects.count())
Exemplo n.º 3
0
 def initialize_seta(self):
     logger.info('Updating JobPriority table.')
     logger.info('Number of items in table: %d',
                 JobPriority.objects.count())
     update_job_priority_table()
     logger.info('Loading preseed table.')
     logger.info('Number of items in table: %d',
                 JobPriority.objects.count())
     load_preseed()
     logger.info('Number of items in table: %d',
                 JobPriority.objects.count())
Exemplo n.º 4
0
 def initialize_seta(self):
     logger.info(
         'Updating runnable jobs table (this will take few minutes).')
     RunnableJobsProcess().run()
     logger.info('Updating JobPriority table.')
     logger.info('Number of items in table: %d' %
                 JobPriority.objects.count())
     update_job_priority_table()
     logger.info('Loading preseed table.')
     logger.info('Number of items in table: %d' %
                 JobPriority.objects.count())
     load_preseed()
     logger.info('Number of items in table: %d' %
                 JobPriority.objects.count())
Exemplo n.º 5
0
 def handle(self, *args, **options):
     load_preseed()
Exemplo n.º 6
0
 def handle(self, *args, **options):
     load_preseed()
Exemplo n.º 7
0
 def handle(self, *args, **options):
     load_preseed(options.get("validate"))