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())
 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())
 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())
Exemple #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())
Exemple #5
0
 def handle(self, *args, **options):
     load_preseed()
Exemple #6
0
 def handle(self, *args, **options):
     load_preseed()
Exemple #7
0
 def handle(self, *args, **options):
     load_preseed(options.get("validate"))