示例#1
0
def show_pending_jobs(context, site=None):
    "Get diagnostic info about background jobs"
    if not site:
        site = get_site(context)

    from frappe.utils.doctor import pending_jobs as _pending_jobs
    return _pending_jobs(site=site)
示例#2
0
def show_pending_jobs(context, site=None):
	"Get diagnostic info about background jobs"
	if not site:
		site = get_site(context)

	from frappe.utils.doctor import pending_jobs as _pending_jobs
	return _pending_jobs(site=site)