Files
xinhu/task.php
2022-08-14 16:47:40 +08:00

19 lines
512 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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');