Source of file Cronjob_Manager.php
Size: 0,926 Bytes - Last Modified: 2021-12-23T10:11:42+00:00
/var/www/docs.ssmods.com/process/src/code/Cronjob_Manager.php
123456789101112131415161718192021222324252627 | <?php class Cronjob_Manager extends BuildTask { protected $title = 'CronKeep: manage cronjobs via web interface'; protected $description = 'Lists crontab contents and allow adding/managing cronjobs'; protected $enabled = true; public static $silent = true; public static $force_run = false; // But now it's a buildtask public function run($request) { set_include_path(get_include_path() . PATH_SEPARATOR . BASE_PATH); print "<style>*{ font-family: Arial,sans-serif; font-weight: normal; }</style>"; // print '<iframe style="height:100vh;width:100vw;position:absolute;top:0;left:0;right:0;bottom:0;" src="' . BASE_URL . '/vendor/cronkeep/cronkeep/src/" />'; print '<iframe style="height:100vh;width:100vw;position:absolute;top:0;left:0;right:0;bottom:0;border:0;" src="' . BASE_URL . '/cronkeep/code/cronkeep/src/" />'; print 'LOADING...'; } } |