Files
Pichome/core/cron/cron_vapp_vappdoupdate.php
2024-04-30 22:55:18 +08:00

10 lines
392 B
PHP

<?php
if(!defined('IN_OAOOA')) {
exit('Access Denied');
}
@set_time_limit(0);
//获取正在执行导入任务的库
foreach(DB::fetch_all("select * from %t where isdelete = 0 and `type` != %d and state =%d ",array('pichome_vapp',3,2)) as $v){
$appid = $v['appid'];
dfsockopen(getglobal('localurl') . 'misc.php?mod=exportfile&appid=' . $appid, 0, '', '', false, '', 1);
}