使用 telescope 查看 schedule 运行状态

1 安装
Telescope 应用调试工具
2 配置

导出migration文件
php artisan vendor:publish --tag=telescope-migrations
部分导入
php artisan migrate --path database/migrations/2018_08_08_100000_create_telescope_entries_table.php

3 使用
测试监控系统中schedule 的调用状态

修改

app/Console/Kernel.php
$schedule->command('schedule:team-quote-reminder-sms 2 0')->everyMinute();

执行

php artisan schedule:run
本作品采用《CC 协议》,转载必须注明作者和本文链接
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!