{template "header.html"} {template "api_list_date_search.html"}

{if $run_time} {dr_lang('最近自动执行时间为：%s', $run_time)} {else} {dr_lang('当前服务器没有设置自动任务脚本')} {/if}

{dr_lang('任务脚本地址')}：{ROOT_URL}api/cron.php

{dr_form_search_hidden(['field' => 'type'])}
{dr_lang('到')}
{dr_form_hidden()}
{if $ci->_is_admin_auth('del')}
{/if}

| {dr_lang('类型')} | {dr_lang('录入时间')} | {dr_lang('执行时间')} | {dr_lang('状态')} |
--- | --- | --- | --- | --- | ---
{loop $list $t}
| {if isset($type[$t.type])}{$type[$t.type]}{else}{$t.type}{/if} | {dr_date($t.inputtime, null, 'red')} | {dr_date($t.updatetime, null, 'red')} | {if $t.status}{dr_lang('查看错误')}{else}{dr_lang('待执行')}{/if} | {dr_lang('立即执行')} {dr_lang('查看参数')} {if $t.error} {dr_lang('已经执行%s次', $t.status)} {/if}
{/loop}

{template "footer.html"}