def test_cron_validate_answers(request): requestProcessor = HttpRequestProcessor(request) user = request.user field_validation_cycle_util = FieldValidationCycleUtil() field_validation_cycle_util.cron_validate_answers() data = {} return requestProcessor.render_to_response(request,'website/test/test_cron_validate_answers.html', data, '')
def runValidateAnswersCron(objCronHelper): objCronHelper.WriteHTML('Validate Answers<br/>') aaa = FieldValidationCycleUtil() aaa.cron_validate_answers() objCronHelper.WriteHTML('<br/>Validate Answers Done!<br/>')
def runValidateAnswersCron(objCronHelper): objCronHelper.WriteHTML("Validate Answers<br/>") aaa = FieldValidationCycleUtil() aaa.cron_validate_answers() objCronHelper.WriteHTML("<br/>Validate Answers Done!<br/>")
def handle(self, *args, **options): fvcu = FieldValidationCycleUtil() fvcu.cron_validate_answers()