This commit is contained in:
2013-04-02 01:03:02 +08:00
parent d5f3b47056
commit 047cf974e6
3 changed files with 44 additions and 44 deletions

View File

@@ -1,21 +1,21 @@
<?php
/**
* 自动发布插件
* @copyright (c) xiaosong.org All Rights Reserved
*/
ignore_user_abort(true);
set_time_limit(0);
if (!defined('EMLOG_ROOT')) {
require_once('../../../init.php');
}
do {
clearstatcache();
$run = EMLOG_ROOT.'/content/plugins/autopub/autopub_cron_pid.php';
if(!file_exists($run)) die('do nothing');
doPub();
sleep(30);
} while (true);
<?php
/**
* 自动发布插件
* @copyright (c) xiaosong.org All Rights Reserved
*/
ignore_user_abort(true);
set_time_limit(0);
if (!defined('EMLOG_ROOT')) {
require_once('../../../init.php');
}
do {
clearstatcache();
$run = EMLOG_ROOT.'/content/plugins/autopub/autopub_cron_pid.php';
if(!file_exists($run)) die('do nothing');
doPub();
sleep(30);
} while (true);
?>