Skip to content

zwping/scheduling

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

后台管理Laravel定时任务

截图

main run

安装

  1. composer require zwping/scheduling
  2. 扩展中更新&启用
  3. 配置用户菜单&权限
  4. 打开 http://your-host/admin/scheduling

app/Console/Kernel.php中添加一些定时任务

class Kernel extends ConsoleKernel
{
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('inspire')->everyTenMinutes();
        
        $schedule->command('route:list')
            ->back
            ->dailyAt('02:00');
    }
}

打开http://your-host/admin/scheduling, 可以看见这些定时任务

About

Scheduling task manager for dcat-admin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 90.6%
  • JavaScript 6.4%
  • Blade 2.3%
  • CSS 0.7%