def METHOD_NAME() -> NoReturn:
	"""Run enqueue_events_for_all_sites based on scheduler tick.
	Specify scheduler_interval in seconds in common_site_config.json"""
	tick = cint(frappe.get_conf().scheduler_tick_interval) or 60
	set_niceness()
	while True:
		time.sleep(tick)
		enqueue_events_for_all_sites()