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