goedemiddag/laravel-schedule-monitor
最新稳定版本:v2.0.0
Composer 安装命令:
composer require goedemiddag/laravel-schedule-monitor
包简介
Monitoring for scheduled jobs
README 文档
README
This package allows you to monitor your scheduled commands and jobs.
Supported implementations:
Installation
First use composer to install the package using the following command
composer require goedemiddag/laravel-schedule-monitor
Usage
Sentry
Chain the monitorWithSentry method onto the schedule. This method accepts the UUID provided
by Sentry.
protected function schedule(Schedule $schedule) { $schedule->command(Inspire::class) ->daily() ->monitorWithSentry('[uuid]') }
Better Stack
Chain the monitorWithBetterstack method onto the schedule. This method accepts the ID provided
by Better Stack.
protected function schedule(Schedule $schedule) { $schedule->command(Inspire::class) ->daily() ->monitorWithBetterstack('[id]') }
统计信息
- 总下载量: 2.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-27