Skip to content

This package allows you to monitor your scheduled commands and jobs.

License

Notifications You must be signed in to change notification settings

goedemiddag/laravel-schedule-monitor

Repository files navigation

Laravel schedule monitor

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]')
}

About

This package allows you to monitor your scheduled commands and jobs.

Resources

License

Stars

Watchers

Forks

Languages