def dump_queue_status(): "Dump detailed diagnostic infomation for task queues in JSON format" frappe.init("") from frappe.utils.doctor import dump_queue_status as _dump_queue_status, inspect_queue print json.dumps(_dump_queue_status(), indent=1) inspect_queue()
def dump_queue_status(): "Dump detailed diagnostic infomation for task queues in JSON format" frappe.init('') from frappe.utils.doctor import dump_queue_status as _dump_queue_status, inspect_queue print json.dumps(_dump_queue_status(), indent=1) inspect_queue()