HomeAction::newschedule PHP Method

newschedule() public method

系统工具 - 计划任务 - 新建计划任务
public newschedule ( )
    public function newschedule()
    {
        $this->pageKeyList = array('task_to_run', 'schedule_type', 'modifier', 'dirlist', 'month', 'start_datetime', 'end_datetime', 'info');
        $this->opt['schedule_type'] = array('ONCE' => '只执行一次', 'MINUTE' => '每分钟', 'HOURLY' => '每小时', 'DAILY' => '每小时', 'WEEKLY' => '每周', 'MONTHLY' => '每月');
        // 计划任务保存地址
        $this->savePostUrl = U('admin/Home/saveschedule');
        $this->displayConfig(array());
    }