Files
EasySoft-ZenTaoPMS/module/cron/test/model/checkchange.php
T

19 lines
449 B
PHP
Executable File

#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/cron.class.php';
su('admin');
/**
title=测试 cronModel->checkChange();
cid=1
pid=1
判断是否存在时间是0000-00-00 00:00:00状态不是stop的定时任务存在 >> 1
*/
$cron = new cronTest();
r($cron->checkChangeTest()) && p() && e('1'); //判断是否存在时间是0000-00-00 00:00:00状态不是stop的定时任务存在