Add (scheduler): sitemap
This commit is contained in:
@@ -15,6 +15,7 @@ class Kernel extends ConsoleKernel
|
|||||||
*/
|
*/
|
||||||
protected function schedule(Schedule $schedule): void
|
protected function schedule(Schedule $schedule): void
|
||||||
{
|
{
|
||||||
|
$schedule->command('sitemap:generate')->daily();
|
||||||
|
|
||||||
$schedule->call(function () {
|
$schedule->call(function () {
|
||||||
BrowseAndWriteWithAIJob::dispatch()->onQueue('default')->onConnection('default');
|
BrowseAndWriteWithAIJob::dispatch()->onQueue('default')->onConnection('default');
|
||||||
|
|||||||
Reference in New Issue
Block a user