Skip to content

Commit

Permalink
schedule tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 16, 2023
1 parent cae5913 commit 02e4c9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();

$schedule->command('sitemap:generate')->daily();
$schedule->exec('bash /home/forge/laravel.com/build/api.sh')->daily();
$schedule->exec('bash /home/forge/laravel.com/build/docs.sh')->everyFiveMinutes();
}

/**
Expand Down

0 comments on commit 02e4c9d

Please sign in to comment.