diff --git a/app/Console/Commands/MagicLinkCommand.php b/app/Console/Commands/TrustLabMagicLink.php similarity index 97% rename from app/Console/Commands/MagicLinkCommand.php rename to app/Console/Commands/TrustLabMagicLink.php index b680ef9..fb7ff57 100644 --- a/app/Console/Commands/MagicLinkCommand.php +++ b/app/Console/Commands/TrustLabMagicLink.php @@ -7,7 +7,7 @@ use Illuminate\Console\Command; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Str; -class MagicLinkCommand extends Command +class TrustLabMagicLink extends Command { /** * The name and signature of the console command. diff --git a/app/Console/Commands/NotifyCertificateExpirations.php b/app/Console/Commands/TrustLabNotifyExpiring.php similarity index 98% rename from app/Console/Commands/NotifyCertificateExpirations.php rename to app/Console/Commands/TrustLabNotifyExpiring.php index c55c394..60e7552 100644 --- a/app/Console/Commands/NotifyCertificateExpirations.php +++ b/app/Console/Commands/TrustLabNotifyExpiring.php @@ -4,7 +4,7 @@ namespace App\Console\Commands; use Illuminate\Console\Command; -class NotifyCertificateExpirations extends Command +class TrustLabNotifyExpiring extends Command { /** * The name and signature of the console command. diff --git a/routes/console.php b/routes/console.php index a6876c3..96a5310 100644 --- a/routes/console.php +++ b/routes/console.php @@ -8,4 +8,4 @@ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->purpose('Display an inspiring quote'); -Schedule::command('certificates:notify-expiring')->daily(); +Schedule::command('trustlab:notify-expiring')->daily();