/* # This allows to execute cron tasks under each module. # # */ try { @ignore_user_abort ( true ); set_time_limit('200000000'); echo "Executing CRON at " . date("h:i:s") . " ...\n"; require_once ("oob" . DIRECTORY_SEPARATOR . "engine.php"); global $ari; oob_ari::initEngine("cron"); $modulos = oob_module::listModules(); foreach ($modulos as $modulo) { $ari->module = $modulo; print "Modulo: " . $modulo->name() . "\n"; @include ($modulo->admindir() . DIRECTORY_SEPARATOR . 'cron.php'); } print "END CRON"; } catch (OOB_exception $e) { print $e->getUserMessage();
# # @copyright Pablo Micolini # @license BSD ######################################## */ /* //Crear los directorios necesarios... mkdir("B:/eximius"); mkdir("B:/eximius/db"); */ // ADMIN SIDE INDEX try { ignore_user_abort(true); require_once "oob" . DIRECTORY_SEPARATOR . "engine.php"; global $ari; oob_ari::initEngine('admin'); $ari->generateOutput(); // $time= $ari->finCronometro(); // // print "<br><br><small>".$time." mS <br>OOB/N1 ".$ari->version()."<br></small>"; // print $ari->ExecutionMonitor(); } catch (OOB_exception $e) { # After all, sometimes things can go wrong!, lets be brave and handle it require_once "oob" . DIRECTORY_SEPARATOR . "librerias" . DIRECTORY_SEPARATOR . "smarty" . DIRECTORY_SEPARATOR . "Smarty.class.php"; // start smarty object for section template $extpl = new Smarty(); $extpl->template_dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'perspectives' . DIRECTORY_SEPARATOR . 'default'; $extpl->compile_dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'archivos' . DIRECTORY_SEPARATOR . 'cache'; $extpl->debugging = false; $extpl->force_compile = false; $extpl->caching = 0;