mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
20 lines
398 B
PHP
20 lines
398 B
PHP
<?php
|
|
|
|
namespace App\Jobs;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
|
use Illuminate\Foundation\Queue\Queueable;
|
|
use Illuminate\Support\Facades\Artisan;
|
|
|
|
class RegeneratePriceCache implements ShouldQueue
|
|
{
|
|
use Dispatchable;
|
|
use Queueable;
|
|
|
|
public function handle(): void
|
|
{
|
|
Artisan::call('buddy:regenerate-price-cache');
|
|
}
|
|
}
|