[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/plg_system_schedulerunner/js/ -> run-schedule.min.js (source)

   1  if(!window.Joomla)throw new Error("Joomla API was not properly initialised");const initScheduler=()=>{const e=Joomla.getOptions("plg_system_schedulerunner"),n=Joomla.getOptions("system.paths"),o=1e3*(e&&e.interval?parseInt(e.interval,10):300),t=`$n?`$n.root}/index.php`:window.location.pathname}?option=com_ajax&format=raw&plugin=RunSchedulerLazy&group=system`;setInterval((()=>navigator.sendBeacon(t)),o),navigator.sendBeacon(t)};(e=>{e.addEventListener("DOMContentLoaded",(()=>{initScheduler()}))})(document);


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer