Crunz\Schedule::thenPing PHP Method

thenPing() public method

Register a callback to ping a given URL after the job runs.
public thenPing ( string $url )
$url string
    public function thenPing($url)
    {
        return $this->then(function () use($url) {
            (new HttpClient())->get($url);
        });
    }