fixed bug of listing all questions by status and error in schedule job config. added sql script of creating ticket