Skip to content

Commit

Permalink
added command to schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
Momik Shrestha committed Jan 17, 2024
1 parent 6acf09d commit e0dcc33
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/FillOrgRegistrationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FillOrgRegistrationType extends Command
*
* @var string
*/
protected $signature = 'command:fillOrgRegistrationType';
protected $signature = 'command:FillOrgRegistrationType';

/**
* The console command description.
Expand Down
2 changes: 2 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule): void
{
// TODO: Change this to every day instead of every 10 minutes after testing.
$schedule->command('command:FillOrgRegistrationType')->everyTenMinutes();
}

/**
Expand Down
Loading

0 comments on commit e0dcc33

Please sign in to comment.