信呼OA版本v2.3.8
This commit is contained in:
19
task.php
Normal file
19
task.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* 计划任务地址,指向目录webmain/task下
|
||||
* 也可用cli处理的命令如:php task.php cli,run
|
||||
* 主页:http://www.rockoa.com/
|
||||
* 软件:信呼
|
||||
* 作者:雨中磐石(rainrock)
|
||||
*/
|
||||
define('ENTRANCE', 'task');
|
||||
include_once('config/config.php');
|
||||
$m = 'mode';
|
||||
if(isset($argv[1])){
|
||||
$_mar = explode(',', $argv[1]);
|
||||
$m = $_mar[0].'|runt';
|
||||
if(isset($_mar[1]))$a = $_mar[1];
|
||||
}
|
||||
$d = $rock->get('d','task');
|
||||
$m = $rock->get('m',$m);
|
||||
include_once('include/View.php');
|
||||
Reference in New Issue
Block a user