method isTimeout documentation in bbn\Cron\Manager
function($id_cron)
{
if ($this->check()
&& ($cron = $this->getCron($id_cron))
&& ($path = $this->getLogPath($cron))
&& is_file($path)
) {
[$pid, $time] = X::split(file_get_contents($path), '|');
return (($time + $cron['cfg']['timeout']) < time());
}
return false;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions