industrious/laravel-scheduler-output-to-url

一个用于将调度器输出发送到URL的Laravel包。

v2.0 2023-07-17 15:04 UTC

This package is auto-updated.

Last update: 2024-09-17 17:43:02 UTC


README

关于此包

Laravel scheduler output to url 包是为了能够将预定命令的输出提交到指定的URL而创建的,例如通过HTTP请求(例如POST/GET等)将输出提交到https://healthchecks.io/

示例

$schedule
    ->command(SomeCommand::class)
    ->dailyAt('00:00')
    ->sendOutputToUrl('https://hc-ping.com/uuid-here');